Package com.vaadin.flow.component
Interface BlurNotifier<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 blur events on components.
- Since:
- 1.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
BlurNotifier.BlurEvent<C extends Component>
Represents the DOM event "blur". -
Method Summary
Modifier and TypeMethodDescriptiondefault Registration
addBlurListener
(ComponentEventListener<BlurNotifier.BlurEvent<T>> listener) Add a listener to blur DOM events.
-
Method Details
-
addBlurListener
Add a listener to blur DOM events.- Parameters:
listener
- the blur listener- Returns:
- a registration that can be used to unregister the listener
- See Also:
-