I want to write a SortableJS plugin that gets mounted to a Sortable instance from the sortablejs package:
importSortablefrom'sortablejs'Sortable.mount(newMyPlugin())
However, looking at the shipped plugins, it looks like they depend on unexported symbols imported directly from the source code. For example MultiDrag.js imports expando from ../../src/utils.js.
Can I write a plugin without referencing sortablejs source code?
I want to write a SortableJS plugin that gets mounted to a
Sortableinstance from thesortablejspackage:However, looking at the shipped plugins, it looks like they depend on unexported symbols imported directly from the source code. For example
MultiDrag.jsimportsexpandofrom../../src/utils.js.Can I write a plugin without referencing
sortablejssource code?