Crates.io | sortable-js |
lib.rs | sortable-js |
version | 0.1.8+js.1.15.6.patched.1 |
source | src |
created_at | 2022-11-28 23:56:50.599444 |
updated_at | 2024-11-29 12:35:53.422807 |
description | Rusty bindings to SortableJS, to build sortable lists in wasm |
homepage | |
repository | https://github.com/Ekleog/sortable-js-rs |
max_upload_size | |
id | 724882 |
size | 130,333 |
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.