Package com.vaadin.flow.component
Interface AttachNotifier
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractCompositeField,AbstractField,AbstractSinglePropertyField,Component,Composite,Html,HtmlComponent,HtmlContainer,InternalServerError,JavaScriptBootstrapUI,JavaScriptBootstrapUI.ClientViewPlaceholder,RouteNotFoundError,RouterLink,Text,UI,WebComponentUI,WebComponentWrapper
public interface AttachNotifier extends Serializable
Mixin interface for components that support adding attach listeners.- Since:
- 1.0
- Author:
- Vaadin Ltd
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default RegistrationaddAttachListener(ComponentEventListener<AttachEvent> listener)Adds a attach listener to this component.
-
-
-
Method Detail
-
addAttachListener
default Registration addAttachListener(ComponentEventListener<AttachEvent> listener)
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
-
-