Uses of Class
org.vaadin.firitin.util.IntersectionObserver
Packages that use IntersectionObserver
-
Uses of IntersectionObserver in org.vaadin.firitin.util
Methods in org.vaadin.firitin.util that return IntersectionObserverModifier and TypeMethodDescriptionstatic IntersectionObserverIntersectionObserver.get()Returns a viewport-level IntersectionObserver for the current UI.IntersectionObserver.observe(com.vaadin.flow.component.Component component, IntersectionObserver.IntersectionListener listener) Observe the intersection state of a component.static IntersectionObserverIntersectionObserver.of(com.vaadin.flow.component.UI ui) Returns a viewport-level IntersectionObserver for the given UI.static IntersectionObserverIntersectionObserver.of(com.vaadin.flow.component.UI ui, com.vaadin.flow.component.Component root) Creates an IntersectionObserver with a specific root component as the intersection root.IntersectionObserver.unobserve(com.vaadin.flow.component.Component component) Stop observing a component entirely.IntersectionObserver.unobserve(com.vaadin.flow.component.Component component, IntersectionObserver.IntersectionListener listener) Stop observing a specific listener for a component.IntersectionObserver.withDebounceTimeout(int timeout) Set the debounce timeout for intersection events sent to the server.IntersectionObserver.withRootMargin(String rootMargin) Set the root margin for the intersection observer.IntersectionObserver.withThresholds(double... thresholds) Set the thresholds at which the observer callback fires.