Class KeyboardFocusController
A Manipulator that adds a class to the target element when it is keyboard focused. This is useful for accessibility purposes.
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class KeyboardFocusController : Manipulator, IManipulator
Constructors
| Name | Description |
|---|---|
| KeyboardFocusController(EventCallback<FocusInEvent>, EventCallback<FocusInEvent>, EventCallback<FocusOutEvent>) | Construct a KeyboardFocusController. |
Properties
| Name | Description |
|---|---|
| keyboardFocused | Check if the target element is keyboard focused. |
Methods
| Name | Description |
|---|---|
| RegisterCallbacksOnTarget() | Called to register event callbacks on the target element. |
| UnregisterCallbacksFromTarget() | Called to unregister event callbacks from the target element. |