Skip to content
Components/Basic componentsIntroduced in 1.3.0

EFocusTrap Focus trap ​

import EUI 1.0

Examples ​

Focus loop ​

QML sourceQML
Preview
Run the code to try the component

Edit text, properties, or events, then select Run.

Code runs in this browser Licenses

Reverse focus loop ​

QML sourceQML
Preview
Run the code to try the component

Edit text, properties, or events, then select Run.

Code runs in this browser Licenses

Inactive trap ​

QML sourceQML
Preview
Run the code to try the component

Edit text, properties, or events, then select Run.

Code runs in this browser Licenses

Disabled region ​

QML sourceQML
Preview
Run the code to try the component

Edit text, properties, or events, then select Run.

Code runs in this browser Licenses

Independent region ​

QML sourceQML
Preview
Run the code to try the component

Edit text, properties, or events, then select Run.

Code runs in this browser Licenses

Properties ​

PropertyDescriptionValues and default
contentalias

Content slot; declare QML child objects directly inside the component.

Defaultbody.data
activebool

Keep Tab and Shift+Tab focus navigation within the region.

Defaulttrue

Methods ​

SignaturePurpose
focusNext(reverse)

Focus the next focusable control; use reverse for the previous control.

Released under the MIT License. Third-party assets retain their own licenses.