Skip to main content

DragSimProbe

Function DragSimProbe 

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

Captures a DragSim for the enclosing provider. Mount one inside the DndProvider<T> of your test app (it renders nothing), then retrieve the handle with drag_sim after rebuild_in_place.

ยงProps

For details, see the props struct definition.

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

    Internal marker; never set this.