Interface ContentChangeNotifier
- All Known Implementing Classes:
ContentAware
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Marker interface for objects that broadcast
ContentChangeEvents.- Since:
- 2021-02-04
- Author:
- miki
-
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.shared.RegistrationAdds a listener to be notified wheneverContentChangeEventhappens.
-
Method Details
-
addContentChangeListener
Adds a listener to be notified wheneverContentChangeEventhappens.- Parameters:
listener- Listener to add.- Returns:
- A
Registrationthat can be used to stop listening to events.
-