Class: TabbingContext

Drupal~ TabbingContext

new TabbingContext(options)

Stores a set of tabbable elements.

This constraint can be removed with the release() method.

Name Type Description
options object

A set of initiating values

Name Type Description
level number

The level in the TabbingManager's stack of this tabbingContext.

$tabbableElements jQuery

The DOM elements that should be reachable via the tab key when this tabbingContext is active.

$disabledElements jQuery

The DOM elements that should not be reachable via the tab key when this tabbingContext is active.

released bool

A released tabbingContext can never be activated again. It will be cleaned up when the TabbingManager unwinds its stack.

active bool

When true, the tabbable elements of this tabbingContext will be reachable via the tab key and the disabled elements will not. Only one tabbingContext can be active at a time.

Members

$disabledElementsjQuery

$tabbableElementsjQuery

activebool

nullablelevelnumber

releasedbool

Methods

Activates this TabbingContext.

Fires:

Deactivates this TabbingContext.

Fires:

Releases this TabbingContext.

Once a TabbingContext object is released, it can never be activated again.

Fires: