Skip to content

A easy to use drop and drop library for svelte. It leaves user a lot of freedom on how to use it.

Notifications You must be signed in to change notification settings

mtwangyugeng/svelte-drag-and-drop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drag and Drop for svelte

Tic-Tac-Toe demo: Try it!

Usage

Copy the src/lib/drag-and-drop folder to you code base.

<div>
    <DropField enabled={true} on:lose={handleLose} on:receive={handleRecieve} on:enter={handleEnter}>
        <Dragable loadValue={anyObject}>
            <button>
                A dragable button.
            </button>
        </Dragable>
    </DropField>
</div>

About

A easy to use drop and drop library for svelte. It leaves user a lot of freedom on how to use it.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published