Skip to main content

DndProvider

Function DndProvider 

Source
pub fn DndProvider<T: Clone + PartialEq + 'static>(
    _: DndProviderProps<T>,
) -> Element
Expand description

Provides a DndContext<T> to its children.

ยงProps

For details, see the props struct definition.

  • phantom : std::marker::PhantomData<T>

    Internal marker; never set this.

  • dir : Direction

    Layout direction: Direction::Rtl mirrors keyboard navigation and spatial zone ordering to follow the visual right-to-left flow.

  • children : Element