New to KendoReact? Learn about KendoReact Free.
Represents the KendoReact Navigation functionality.
It handles the navigation through a collection of DOM elements.
| Name | Type | Default | Description |
|---|
|
|
"null" | HTMLElement
|
|
|
|
HTMLElement[]
|
|
|
|
"null" | HTMLElement
|
|
|
|
"null" | HTMLElement
|
|
(options: NavigationOptions)
NavigationOptions
|
|
|---|
|
Focuses the passed element from the navigation collection of DOM elements.
|
| Parameters | | |
|---|
|
element
|
"null" | HTMLElement
|
| |
previous?
|
"null" | HTMLElement
|
|
|
|
|
|---|
|
Focuses the next element from the navigation collection of DOM elements.
|
| Parameters | | |
|---|
|
target
|
HTMLElement
|
| |
selectors?
|
string[] | string[][]
|
|
|
|
|
|
|
|---|
|
Focuses the previous element from the navigation collection of DOM elements.
|
| Parameters | | |
|---|
|
target
|
HTMLElement
|
| |
selectors?
|
string[] | string[][]
|
|
|
|
|
|
|
|---|
|
Set the first element tabIndex to 1 and -1 for the rest.
|
| Parameters | | |
|---|
|
itemIndex?
|
number
|
|
|
|
|
|---|
|
Returns the next DOM element from the navigation collection of DOM elements.
|
| Parameters | | |
|---|
|
target
|
HTMLElement
|
| |
selectors?
|
string[] | string[][]
|
|
|
|
|
|
|
|---|
|
Returns the previous DOM element from the navigation collection of DOM elements.
|
| Parameters | | |
|---|
|
target
|
HTMLElement
|
| |
selectors?
|
string[] | string[][]
|
|
|
|
|
|
|
|---|
|
Remove a focus class.
|
| Parameters | | |
|---|
|
target
|
HTMLElement
|
|
|
|
|
|---|
|
The keyboard events handler.
|
| Parameters | | |
|---|
|
ev
|
KeyboardEvent<HTMLElement>
|
| |
options?
|
any
|
|
|
|
|
|---|
|
The mouse events handler.
|
| Parameters | | |
|---|
|
ev
|
MouseEvent<HTMLElement>
|
|
|