Skip to main content

ExternalDragSource

Function ExternalDragSource 

Source
pub fn ExternalDragSource(_: ExternalDragSourceProps) -> Element
Expand description

Makes its children draggable out of the app, populating the native DataTransfer on drag start.

§Props

For details, see the props struct definition.

  • content : OutboundContent

    The content written to the drag’s DataTransfer.

  • effect : DropEffect

    Effect advertised to the receiving application. Defaults to Copy, which is what outbound drags almost always mean.

  • disabled : bool

    Disable without unmounting.

  • attributes : Vec<Attribute>
  • children : Element