pub enum ActionTrigger {
Show 19 variants
Default,
DragStart,
DragUpdate,
DragEnd,
HoverEnter,
HoverExit,
HoverCursor,
Focus,
Blur,
TapOutside,
Change,
NumberChange,
EditingComplete,
Submit,
CursorChange,
Drop,
DragEnter,
DragLeave,
SecondaryClick,
}Expand description
What user interaction triggers an action.
Each ActionEntry pairs an ActionTrigger with an action ID so the event
system knows which callback to invoke for a given input gesture.
Variants§
Default
Primary activation: tap, click, or Enter key.
DragStart
The user began dragging this node.
DragUpdate
The drag position changed (fires continuously).
DragEnd
The user released the drag.
HoverEnter
The pointer entered the node’s hit area.
HoverExit
The pointer left the node’s hit area.
HoverCursor
A semantic cursor request applied while the pointer hovers this node.
This is metadata, not a dispatched reducer action.
Focus
The node received keyboard focus.
Blur
The node lost keyboard focus.
TapOutside
A pointer-down happened outside the active text field.
Change
The node’s value changed (sliders, text inputs, etc.).
NumberChange
A text field changed and requests numeric f32 payload dispatch.
This is intentionally separate from [Change] so a numeric keyboard
hint alone does not change the generic text-input payload contract.
EditingComplete
Text editing was explicitly completed by the current input method.
Submit
The user submitted a text field.
CursorChange
The caret or selection anchor position changed in a text field.
Drop
A dragged payload was dropped onto this node.
DragEnter
A drag entered this node’s hit area (for drop targets).
DragLeave
A drag left this node’s hit area (for drop targets).
SecondaryClick
Right-click or secondary mouse button.
Trait Implementations§
Source§impl Clone for ActionTrigger
impl Clone for ActionTrigger
Source§fn clone(&self) -> ActionTrigger
fn clone(&self) -> ActionTrigger
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more