Classes
The following classes are available globally.
-
A trigger for focus and blur actions.
This type is meant to be used in conjunction with
FocusState
; you will usually not create it directly. For information about adding focus support to a custom element, seeFocusBinding
.Triggers allow imperative actions to be invoked on backing views, by creating a trigger in a declarative model before the view is realized, late-binding the actions to a backing view after that view has been realized, and then invoking the action on the trigger later in response to some other event.
See Also
See moreDeclaration
Swift
public final class FocusTrigger