Skip to content

This is a draggable project for HTML elements with Typescript and XState

Notifications You must be signed in to change notification settings

raiot/draggable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Draggable

Draggable is simple helper to move any HTML element to a position and drop it.

Installation

npm install

To see the demo

npm start

Usage

import { bindDraggable } from 'dist/index.js';
const element = document.getElementById('the-id');
bindDraggable(element);

License

MIT

About

This is a draggable project for HTML elements with Typescript and XState

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published