Global

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: both)
wrap boolean <optional>
keyboard focus wraps from last to first & vice versa (default: true)
activeIndex string <optional>
specify the initial active item by index position (default: 0)
setFocus string <optional>
set focus when roving tab index changes (default: true)
Source:
Fires:
  • event:rovingTabindexChange - when roving tabindex changes
Returns:
chainable jQuery class
Type
Object

Events

rovingTabindexChange

rovingTabindexChange event
Type:
  • object
Properties:
Name Type Description
event object event object
newRovingItem object new roving item element
Source: