is... methods to check the type, and the corresponding as... methods
to retrieve the event data.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
is... methods to check the type, and the corresponding as... methods
to retrieve the event data.
isPointerEventisPointerEvent() -> boolean
isKeyboardEventisKeyboardEvent() -> boolean
isTextInputisTextInput() -> boolean
isFocusisFocus() -> boolean
isReportedEventisReportedEvent() -> boolean
isViewModelChangeisViewModelChange() -> boolean
isGamepadConnectedisGamepadConnected() -> boolean
isGamepadEventisGamepadEvent() -> boolean
isGamepadDisconnectedisGamepadDisconnected() -> boolean
isNoneisNone() -> boolean
asPointerEventasPointerEvent() -> PointerEvent?
asKeyboardEventasKeyboardEvent() -> KeyboardEvent?
asTextInputasTextInput() -> TextInput?
asFocusasFocus() -> FocusEvent?
asReportedEventasReportedEvent() -> ReportedEvent?
asViewModelChangeasViewModelChange() -> ViewModelChange?
asGamepadConnectedasGamepadConnected() -> GamepadConnected?
asGamepadEventasGamepadEvent() -> GamepadEvent?
asGamepadDisconnectedasGamepadDisconnected() -> GamepadDisconnected?
asNoneasNone() -> NoneEvent?
Was this page helpful?