pub fn SortableCollection<K: Clone + Eq + Hash + 'static>(
_: SortableCollectionProps<K>,
) -> ElementExpand description
Render a complete stable-ID collection with one item wrapper per id.
Use SortableGroup and SortableItem directly for custom layouts.
ยงProps
For details, see the props struct definition.
items:Vec<K>render:Callback<K,Element>item_key:Callback<K,String>Stable, unique Dioxus key for each semantic item id.
on_reorder:EventHandler<ReorderEvent<K>>id:Option<SortableGroupId>strategy:SortStrategyactivation:Option<ActivationPolicy>attributes:Vec<Attribute>