Skip to main content

Module events

Module events 

Source
Expand description

Event payloads and cancellation wrappers passed to Pax event handlers.

Structs§

ButtonClick
User activates a native button by click or tap.
CheckboxChange
User checks or unchecks a checkbox.
Click
User activates an element with a mouse click or single-touch tap.
ContextMenu
User right-clicks an element to open the context menu.
DoubleClick
User double-clicks a mouse button over an element.
Drop
User drops a file-like payload over an element.
Event
Event wrapper passed to Pax event handlers.
Focus
Window or component focused.
KeyDown
User is pressing a key.
KeyPress
User presses a key that displays a character (alphanumeric or symbol).
KeyUp
User has released a key.
KeyboardEventArgs
Common properties in keyboard events.
MouseDown
User presses a mouse button over an element.
MouseEventArgs
Common properties in mouse-backed events and normalized activation events.
MouseMove
User moves the mouse while it is over an element.
MouseOut
User moves the mouse away from an element.
MouseOver
User moves the mouse onto an element.
MouseUp
User releases a mouse button over an element.
PhotoPickerChange
Native photo picker completion event.
PhotoPickerPhoto
One selected image returned by a native photo picker.
Scroll
Scroll is the shared delta-based path for wheel scrolling, touch swipe gestures, and read-only native scroller position changes. Use Wheel or TouchMove when you need platform-specific details instead of the normalized delta stream.
SelectStart
A native text selection is beginning.
SliderChange
User changes a slider’s value.
TextInput
User types into a text input field.
TextboxChange
User changes the text in a text input field.
TextboxInput
Text input reported while the user edits a textbox.
Touch
Represents a single touch event.
TouchCancel
A TouchCancel occurs when the platform aborts an active touch sequence before normal release, such as during a system interruption or host-level gesture cancellation.
TouchEnd
A TouchEnd occurs when the user stops touching an element. The contained touches represent a list of touch points and the event targets, then releases, the node captured at touch start.
TouchMove
A TouchMove occurs when the user moves while touching an element. The contained touches represent a list of touch points and the event targets the node captured at touch start, even when the point has moved outside its bounds.
TouchStart
A TouchStart occurs when the user touches an element. The contained touches represent a list of touch points. The hit node is captured for the touch identifier so subsequent move and end events keep routing to the same subtree.
ViewportProximityChange
A settled geometry change during a continuous proximity visit.
ViewportProximityEnter
Entry into global viewport proximity, including initially nearby targets. Delivered before the initial change event. This local event does not bubble.
ViewportProximityExit
Departure from global viewport proximity, after the terminal change event. Unmount cancels observation without synthesizing a geometric exit.
ViewportProximitySnapshot
One settled viewport-proximity sample in logical window coordinates.
Wheel
User scrolls the mouse wheel over an element.

Enums§

ModifierKey
The variants of modifier keys available on keyboard-supporting platforms.
MouseButton
The variants of mouse buttons available on mouse-supporting platforms.
PhotoPickerSourceKind
Platform source used to produce a selected photo.
PhotoPickerStatus
Completion status for a native photo picker request.