Variable ROUTE_FIELD_DEFINITIONSConst
ROUTE_FIELD_DEFINITIONS: {
arg: "Sub-class of the gesture. Direction for wheel (up / down / *), key name for keyDown / keyUp, finger count for multiTouchTap. Other gestures have no arg slot.";
gesture: "The class of input event that triggers this route — click, drag, double-tap, keyDown/keyUp, wheel, contextMenu, or multiTouchTap.";
modifiers: "Modifier keys the user must hold (`+key`) or may optionally hold (`?key`) for this route to match. Unlisted modifiers must not be held.";
phases: "Which lifecycle stage(s) a channel must be in for this route to fire. `initial` = the channel is idle; `engaged` = the channel is mid-gesture. The channel is the binding's own tool (`&`), any tool (`*`), or a named tool id.";
target: "Which hit-test result the gesture must land on. `*` matches any target; `empty` matches the empty canvas; otherwise the value names a specific hit-target kind.";
} = ...
Type Declaration
Readonlyarg: "Sub-class of the gesture. Direction for wheel (up / down / *), key name for keyDown / keyUp, finger count for multiTouchTap. Other gestures have no arg slot."
Readonlygesture: "The class of input event that triggers this route — click, drag, double-tap, keyDown/keyUp, wheel, contextMenu, or multiTouchTap."
Readonlymodifiers: "Modifier keys the user must hold (`+key`) or may optionally hold (`?key`) for this route to match. Unlisted modifiers must not be held."
Readonlyphases: "Which lifecycle stage(s) a channel must be in for this route to fire. `initial` = the channel is idle; `engaged` = the channel is mid-gesture. The channel is the binding's own tool (`&`), any tool (`*`), or a named tool id."
Readonlytarget: "Which hit-test result the gesture must land on. `*` matches any target; `empty` matches the empty canvas; otherwise the value names a specific hit-target kind."
Per-field explanations for the slots of a parsed route. Exposed so inspector UIs / docs can describe what each setting in a route table means without duplicating prose.