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 |
activeIndex |
string
|
<optional>
|
specify the initial active item by index position (default: 0) |
autoFocus |
boolean
|
<optional>
|
set focus when roving tab index changes (default: true) |
autoInit |
boolean
|
<optional>
|
set initial tabindex when plugin executes (default: true) |
autoReset |
boolean
|
<optional>
|
reset tabindex state when focus leaves widget (default: false) |
axis |
string
|
<optional>
|
set arrow key axis to x, y or both (default: both) |
autoWrap |
boolean
|
<optional>
|
keyboard focus wraps from last to first & vice versa (default: true) |
|
- Source:
Fires:
- event:rovingTabindexChange - when roving tabindex changes
Listens to Events:
- event:rovingTabindexItemsChange - when DOM has changed
Returns:
chainable jQuery class
-
Type
-
Object
Events
rovingTabindexChange
rovingTabindexChange event
Type:
Properties:
Name |
Type |
Description |
event |
object
|
event object |
data |
object
|
event data |
- Source:
rovingTabindexItemsChange
rovingTabindexItemsChange event
Type:
Properties:
Name |
Type |
Description |
event |
object
|
event object |
data |
object
|
event data |
- Source: