Methods
"jQuery.fn.rovingTabindex"(rovingItems, optionsopt) → {Object}
Parameters:
Name |
Type |
Attributes |
Description |
rovingItems |
Object
|
|
descendant items that will receive roving tabindex state |
options |
Object
|
<optional>
|
Properties
Name |
Type |
Attributes |
Description |
axis |
string
|
<optional>
|
set arrow key axis to x, y or both (default) |
wrap |
boolean
|
<optional>
|
keyboard focus wraps from last to first & vice versa |
activeIndex |
string
|
<optional>
|
specify the initial active item by index position |
setFocus |
string
|
<optional>
|
set focus when roving tab index changes (true) |
|
- Source:
Fires:
- event:rovingTabindexChange - when roving tabindex changes
Returns:
chainable jQuery class
-
Type
-
Object
Events
rovingTabindexChange
rovingTabindexChange event
Type:
Properties:
Name |
Type |
Description |
event |
object
|
event object |
newRovingItem |
object
|
new roving item element |
- Source: