This is called whenever one of the {@link KeyboardMovementBehavior.decrementKeys} are pressed.
This is called whenever one of the {@link KeyboardMovementBehavior.incrementKeys} are pressed.
This is called whenever one of the {@link KeyboardMovementBehavior.jumpToFirstKeys} are pressed.
This is called whenever one of the {@link KeyboardMovementBehavior.jumpToLastKeys} are pressed.
This is called whenever a single letter has been pressed and
KeyboardMovementBehavior.searchable is true
.
A function that can be used to get the default focus index when the
container element first gains focus. If this returns -1
, no child element
will be focused and the container will maintain focus instead.
The current list of elements that can be focused within the container element
The container element that gained focus
An optional function to call when the custom focused element should change.
The default value is just to call element.focus()
.
The element that should gain custom focus
The next focus index which can be used for additional movement behavior.
Generated using TypeDoc
@since 5.0.0