Package com.vaadin.flow.component
Interface AttachNotifier
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractCompositeField,AbstractField,AbstractRouteNotFoundError,AbstractSinglePropertyField,Component,Composite,Html,HtmlComponent,HtmlContainer,InternalServerError,RouteAccessDeniedError,RouteNotFoundError,RouterLink,Svg,Text,UI,UI.ClientViewPlaceholder,WebComponentUI,WebComponentWrapper
Mixin interface for components that support adding attach listeners.
- Since:
- 1.0
- Author:
- Vaadin Ltd
-
Method Summary
Modifier and TypeMethodDescriptiondefault RegistrationaddAttachListener(ComponentEventListener<AttachEvent> listener) Adds a attach listener to this component.
-
Method Details
-
addAttachListener
Adds a attach listener to this component.- Parameters:
listener- the listener to add, notnull- Returns:
- a handle that can be used for removing the listener
-