Interface ResizeObserver.MultiSizeChangeListener
- Enclosing class:
ResizeObserver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A listener for observing multiple components at once.
Called when any of the observed components changes size,
with fresh dimensions for all observed components.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonChange(Map<com.vaadin.flow.component.Component, ResizeObserver.Dimensions> dimensions) Called when any of the observed components changes size.
-
Method Details
-
onChange
Called when any of the observed components changes size.- Parameters:
dimensions- a map of component to its current dimensions
-