mirror of
https://github.com/Shopify/draggable.git
synced 2025-12-08 20:15:56 +00:00
Merge pull request #11 from vigetlabs/sfh/export-behaviors
[GH#10] Export behaviours/snappable & behaviours/collidable
This commit is contained in:
commit
072ee77652
16
src/index.js
16
src/index.js
@ -3,12 +3,18 @@ import Sortable from './sortable';
|
||||
import Swappable from './swappable';
|
||||
import Droppable from './droppable';
|
||||
import AbstractEvent from './events/abstract-event';
|
||||
import Snappable from './behaviour/snappable';
|
||||
import Collidable from './behaviour/collidable';
|
||||
|
||||
export {Draggable};
|
||||
export {Sortable};
|
||||
export {Swappable};
|
||||
export {Droppable};
|
||||
export {AbstractEvent};
|
||||
export {
|
||||
Draggable,
|
||||
Sortable,
|
||||
Swappable,
|
||||
Droppable,
|
||||
Snappable,
|
||||
Collidable,
|
||||
AbstractEvent,
|
||||
};
|
||||
|
||||
export function createEventClass(options) {
|
||||
function EventConstructor() { return null; }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user