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.

@FunctionalInterface public static interface ResizeObserver.MultiSizeChangeListener
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 Type
    Method
    Description
    void
    onChange(Map<com.vaadin.flow.component.Component, ResizeObserver.Dimensions> dimensions)
    Called when any of the observed components changes size.
  • Method Details

    • onChange

      void onChange(Map<com.vaadin.flow.component.Component, ResizeObserver.Dimensions> dimensions)
      Called when any of the observed components changes size.
      Parameters:
      dimensions - a map of component to its current dimensions