thresholds property

JSArray<JSNumber> get thresholds

The IntersectionObserver interface's read-only thresholds property returns the list of intersection thresholds that was specified when the observer was instantiated with IntersectionObserver.IntersectionObserver. If only one threshold ratio was provided when instantiating the object, this will be an array containing that single value.

See the Intersection Observer page to learn how thresholds work.

Implementation

external JSArray<JSNumber> get thresholds;