OverlayFocusMixin

Properties

Link copied to clipboard
abstract var focusTrap: Boolean

Set to true to move focus into the overlay automatically on open and keep it inside: Tab and Shift+Tab cycle through the overlay's content until the overlay is closed.

Link copied to clipboard
abstract var restoreFocusNode: HTMLElement

Set to specify the element which should be focused on overlay close, if restoreFocusOnClose is set to true.

Link copied to clipboard

Set to true to enable restoring of focus when overlay is closed.