Class that represents the focus trap.

Export

Hierarchy

  • FocusTrap

Properties

_canTargetContainOtherPatts: boolean = false
_firstFocusableElement: HTMLElement
_focusBottomCallback: Generic
_focusTopCallback: Generic
_focusableElements: HTMLElement[]
_hasBeenPassThoughFirstOne: boolean = false
_lastFocusableElement: HTMLElement
_predictableBottomElement: HTMLElement
_predictableTopElement: HTMLElement
_targetElement: HTMLElement

Constructors

Methods

Accessors

  • get focusableElements(): HTMLElement[]
  • Getter that allows to obtain the list of focusable elements

    Memberof

    OSFramework.Behaviors.FocusTrap

    Returns HTMLElement[]