Crates.io | sortable-js |
lib.rs | sortable-js |
version | 0.1.6+js.1.15.2.patched.1 |
source | src |
created_at | 2022-11-28 23:56:50.599444 |
updated_at | 2024-01-14 02:28:32.714289 |
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 | 128,990 |
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.