| Package | Description |
|---|---|
| org.dominokit.domino.ui.keyboard |
| Modifier and Type | Method and Description |
|---|---|
static KeyboardEvents.KeyboardEventOptions |
KeyboardEvents.KeyboardEventOptions.create() |
KeyboardEvents.KeyboardEventOptions |
KeyboardEvents.KeyboardEventOptions.setPreventDefault(boolean preventDefault)
Sets if prevent default behaviour is enabled or not
|
KeyboardEvents.KeyboardEventOptions |
KeyboardEvents.KeyboardEventOptions.setStopPropagation(boolean stopPropagation)
Sets if stop event propagation is enabled or not
|
| Modifier and Type | Method and Description |
|---|---|
KeyboardEvents<T> |
KeyboardEvents.on(String key,
elemental2.dom.EventListener handler,
KeyboardEvents.KeyboardEventOptions options)
On key button pressed with options
|
KeyboardEvents<T> |
KeyboardEvents.onArrowDown(elemental2.dom.EventListener arrowDownHandler,
KeyboardEvents.KeyboardEventOptions options)
On arrow down button pressed with options
|
KeyboardEvents<T> |
KeyboardEvents.onArrowUp(elemental2.dom.EventListener arrowUpHandler,
KeyboardEvents.KeyboardEventOptions options)
On arrow up button pressed with options
|
KeyboardEvents<T> |
KeyboardEvents.onArrowUpDown(elemental2.dom.EventListener arrowDownHandler,
KeyboardEvents.KeyboardEventOptions options)
On arrow up or arrow down buttons pressed with options
|
KeyboardEvents<T> |
KeyboardEvents.onCtrlBackspace(elemental2.dom.EventListener ctrlBackspaceHandler,
KeyboardEvents.KeyboardEventOptions options)
On ctrl + backspace buttons pressed with options
|
KeyboardEvents<T> |
KeyboardEvents.onDelete(elemental2.dom.EventListener deleteHandler,
KeyboardEvents.KeyboardEventOptions options)
On delete button pressed with options
|
KeyboardEvents<T> |
KeyboardEvents.onEnter(elemental2.dom.EventListener enterHandler,
KeyboardEvents.KeyboardEventOptions options)
On enter button pressed with options
|
KeyboardEvents<T> |
KeyboardEvents.onEscape(elemental2.dom.EventListener escapeHandler,
KeyboardEvents.KeyboardEventOptions options)
On escape button pressed with
options |
KeyboardEvents<T> |
KeyboardEvents.onSpace(elemental2.dom.EventListener spaceHandler,
KeyboardEvents.KeyboardEventOptions options)
On space button pressed with options
|
KeyboardEvents<T> |
KeyboardEvents.onTab(elemental2.dom.EventListener tabHandler,
KeyboardEvents.KeyboardEventOptions options)
On tab button pressed with options
|
KeyboardEvents<T> |
KeyboardEvents.setDefaultOptions(KeyboardEvents.KeyboardEventOptions defaultOptions)
Sets the default
KeyboardEvents.KeyboardEventOptions |
Copyright © 2019–2022 Dominokit. All rights reserved.