OverlayAttributes

Attribute names of <vaadin-overlay>, for use with setAttribute.

Properties

Link copied to clipboard
const val autofocus: String

Set to true to move focus into the overlay automatically on open.

Link copied to clipboard
const val focusTrap: String

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
const val hidden: String

When set to true, the overlay is hidden. This also closes the overlay immediately in case there is a closing animation in progress.

Link copied to clipboard
const val modeless: String

When true the overlay won't disable the main content, showing it doesn't change the functionality of the user interface.

Link copied to clipboard
const val opened: String

When true, the overlay is visible and attached to body.

Link copied to clipboard
const val owner: String

Owner element passed with renderer function

Link copied to clipboard
const val renderer: String

Custom function for rendering the content of the overlay. Receives three arguments:

Link copied to clipboard

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.

Link copied to clipboard
const val withBackdrop: String

When true the overlay has backdrop on top of content when opened.