Class: FocusableWrapper

FocusableWrapper

Members

eventManagerEventManager

Instance of EventManager.

listenersCountWeakSet

An object for tracking information about event listeners attached to the focusable element.

mainElementHTMLElement

The main/operational focusable element.

Methods

focus()

Set focus to the focusable element.

getFocusableElement(){HTMLElement}

Get currently set focusable element.

Returns: {HTMLElement}

setFocusableElement()

Switch to the main focusable element.

useSecondaryElement()

Switch to the secondary focusable element. Used when no any main focusable element is provided.