Expand description
Event payloads and cancellation wrappers passed to Pax event handlers.
Structs§
- Button
Click - User activates a native button by click or tap.
- Checkbox
Change - User checks or unchecks a checkbox.
- Click
- User activates an element with a mouse click or single-touch tap.
- Context
Menu - User right-clicks an element to open the context menu.
- Double
Click - 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.
- Keyboard
Event Args - Common properties in keyboard events.
- Mouse
Down - User presses a mouse button over an element.
- Mouse
Event Args - Common properties in mouse-backed events and normalized activation events.
- Mouse
Move - User moves the mouse while it is over an element.
- Mouse
Out - User moves the mouse away from an element.
- Mouse
Over - User moves the mouse onto an element.
- MouseUp
- User releases a mouse button over an element.
- Photo
Picker Change - Native photo picker completion event.
- Photo
Picker Photo - 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
WheelorTouchMovewhen you need platform-specific details instead of the normalized delta stream. - Select
Start - A native text selection is beginning.
- Slider
Change - User changes a slider’s value.
- Text
Input - User types into a text input field.
- Textbox
Change - User changes the text in a text input field.
- Textbox
Input - Text input reported while the user edits a textbox.
- Touch
- Represents a single touch event.
- Touch
Cancel - 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.
- Touch
End - A TouchEnd occurs when the user stops touching an element.
The contained
touchesrepresent a list of touch points and the event targets, then releases, the node captured at touch start. - Touch
Move - A TouchMove occurs when the user moves while touching an element.
The contained
touchesrepresent a list of touch points and the event targets the node captured at touch start, even when the point has moved outside its bounds. - Touch
Start - A TouchStart occurs when the user touches an element.
The contained
touchesrepresent 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. - Viewport
Proximity Change - A settled geometry change during a continuous proximity visit.
- Viewport
Proximity Enter - Entry into global viewport proximity, including initially nearby targets. Delivered before the initial change event. This local event does not bubble.
- Viewport
Proximity Exit - Departure from global viewport proximity, after the terminal change event. Unmount cancels observation without synthesizing a geometric exit.
- Viewport
Proximity Snapshot - One settled viewport-proximity sample in logical window coordinates.
- Wheel
- User scrolls the mouse wheel over an element.
Enums§
- Modifier
Key - The variants of modifier keys available on keyboard-supporting platforms.
- Mouse
Button - The variants of mouse buttons available on mouse-supporting platforms.
- Photo
Picker Source Kind - Platform source used to produce a selected photo.
- Photo
Picker Status - Completion status for a native photo picker request.