Skip to content

renekoch/drag-drop-native

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drag-drop-native

npm version License: MIT GitHub stars

Native drag'n'drop plugin for Tom Select.


Usage

import Select from 'tom-select';
import dragdrop from 'drag-drop-native';

// Import plugin
Select.define('drag_drop', dragdrop);

// Find the <select>
const dom = document.querySelector('select#my-select');

// Setup the select
const select = new Select(dom, {
    plugins: ['drag_drop'],
    ...
});

About

Native drag'n'drop plugin for tom-select

Resources

License

Stars

Watchers

Forks

Packages

No packages published