⌂
›
Reference
›
Draggable
Draggable
Draggable control. Build it with the draggable helper.
Example
draggable(
content: text("Draggable"),
expand: true,
on_drag_complete: ->(event) {}
)
Properties
affinityaxiscontent— The single child control rendered inside this control.content_feedbackcontent_when_dragginggroupmax_simultaneous_drags
Plus the common layout and animation properties shared by most controls (expand, visible, disabled, opacity, width, height, align, tooltip, animate_*, …).
Events
on_drag_complete— Fired on drag complete.on_drag_start— Fired when a drag begins.
Reference
- Family:
shared - Widget type:
draggable - Helper:
draggable