Package com.vaadin.flow.component
Interface FocusNotifier<T extends Component>
- Type Parameters:
T- the type of the component returned at theComponentEvent.getSource()
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
Focusable<T>
- All Known Implementing Classes:
RouterLink
Mixin interface to handle focus events on components.
- Since:
- 1.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFocusNotifier.FocusEvent<C extends Component>Represents the DOM event "focus". -
Method Summary
-
Method Details
-
addFocusListener
Add a listener to focus DOM events.- Parameters:
listener- the focus listener- Returns:
- a registration that can be used to unregister the listener
- See Also:
-