Expand description
This crate provides rusty bindings to SortableJS.
The documentation mostly lives with the official SortableJS documentation.
Just adding this crate as a dependency should be enough to get everything working when using trunk. Just be careful to keep alive the return value of Sortable::apply
, or you will get JavaScript exceptions.
You can find example usage of SortableJS from a pure-Rust WASM application
in the examples/
directory.
Structs§
- Event
- An event raised by one of the Sortable callbacks. See the official documentation for details about the fields.
- Move
Event - An event raised by one of the Sortable callbacks. See the official documentation for details about the fields.
- Options
- See https://github.com/SortableJS/Sortable for more documentation about available options
- Sortable
- Data related to the Sortable instance