new AbstractNavigatable()
- Implements:
- Source:
Methods
addEvents(element)
Adds navigation events to an HTML element.
Parameters:
Name | Type | Description |
---|---|---|
element |
HTMLElement | The HTML element for navigation. |
- Source:
bubbleKey()
Bubble this key event.
- Source:
click(event)
Navigation on mouse click events.
Parameters:
Name | Type | Description |
---|---|---|
event |
MouseEvent | The mouse event that fired. |
- Implements:
- Source:
down(event)
Navigation on downwards arrow key pressed.
Parameters:
Name | Type | Description |
---|---|---|
event |
KeyboardEvent | The keyboard event that fired. |
- Implements:
- Source:
escape(event)
Navigation on escape key pressed.
Parameters:
Name | Type | Description |
---|---|---|
event |
KeyboardEvent | The keyboard event that fired. |
- Implements:
- Source:
keydown(event)
Navigation selection on keyboard events.
Parameters:
Name | Type | Description |
---|---|---|
event |
KeyboardEvent | The keyboard event that fired. |
- Implements:
- Source:
left(event)
Navigation on left arrow key pressed.
Parameters:
Name | Type | Description |
---|---|---|
event |
KeyboardEvent | The keyboard event that fired. |
- Implements:
- Source:
mousedown(event)
Navigation selection on mouse down events.
Parameters:
Name | Type | Description |
---|---|---|
event |
MouseEvent | The mouse event that fired. |
- Implements:
- Source:
mouseout(event)
Navigation selection on mouse out events.
Parameters:
Name | Type | Description |
---|---|---|
event |
MouseEvent | The mouse event that fired. |
- Implements:
- Source:
mouseover(event)
Navigation selection on mouse over events.
Parameters:
Name | Type | Description |
---|---|---|
event |
MouseEvent | The mouse event that fired. |
- Implements:
- Source:
mouseup(event)
Navigation selection on mouse up events.
Parameters:
Name | Type | Description |
---|---|---|
event |
MouseEvent | The mouse event that fired. |
- Implements:
- Source:
right(event)
Navigation on right arrow key pressed.
Parameters:
Name | Type | Description |
---|---|---|
event |
KeyboardEvent | The keyboard event that fired. |
- Implements:
- Source:
space(event)
Navigation on space key pressed.
Parameters:
Name | Type | Description |
---|---|---|
event |
KeyboardEvent | The keyboard event that fired. |
- Implements:
- Source:
stop(event)
Stops event propagation and bubbling.
Parameters:
Name | Type | Description |
---|---|---|
event |
Event | The keyboard event that fired. |
- Source:
up(event)
Navigation on upwards arrow key pressed.
Parameters:
Name | Type | Description |
---|---|---|
event |
KeyboardEvent | The keyboard event that fired. |
- Implements:
- Source: