PopoverFocusController

abstract external class PopoverFocusController

Controller that routes Tab and Shift+Tab when a non-modal popover is opened. The controller's host element is the popover itself.

The popover is reachable via Tab only from its target, and its content comes logically right after the target — regardless of the popover's DOM position. When the popover lives inside a focus trap (e.g. a dialog), the controller cooperates with the active FocusTrapController so the trap never lands focus on the popover itself.

Modal popovers rely on the overlay's own focus trap; this controller bails out early in that case.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
var host: JsAny?

Functions

Link copied to clipboard
fun activate()
Link copied to clipboard