Skip to main content

Module interaction

Module interaction 

Source
Expand description

Interaction systems that span more than one component.

A component family owns its own pointer and keyboard behaviour. What lives here is the machinery several families have to agree on, because the gesture starts in one component and finishes in another.

  • dnd — carrying an item from where it is to where it should go.

Re-exports§

pub use dnd::ActiveDrag;
pub use dnd::DRAG_NODE_ID;
pub use dnd::DragItem;
pub use dnd::DropAxis;
pub use dnd::DropIntent;
pub use dnd::DropPosition;
pub use dnd::FILE_KIND;
pub use dnd::ROW_KIND;
pub use dnd::StagedDrag;

Modules§

dnd
Carrying an item from where it is to where it should go.

Functions§

install
Installs the drag session and the key that cancels a drag.