Try Install Learn Blog API Packages GitHub
Pages

Ui.AvoidFocus

This component makes possible to have arbitrary HTML content which behaves like static content:

  • tab focus is disabled by adding tabindex="-1" to all child elements
  • pointer focus is disabled with the pointer-events: none CSS.
  • all elements are hidden from screen readers

Properties

children
:
Array(Html)
=
[]

The child elements.

Functions

render
:
Html

Renders the component.

update
:
Promise(Never, Void)

Sets tabindex="-1" on all child elements.