UseIntersectionObserverReturn
Defined in: src/hooks/useIntersectionObserver/useIntersectionObserver.types.ts:14
Type Parameters
Section titled “Type Parameters”T extends Element
Properties
Section titled “Properties”entry:
IntersectionObserverEntry|null
Defined in: src/hooks/useIntersectionObserver/useIntersectionObserver.types.ts:18
Latest IntersectionObserverEntry or null before the first callback.
isIntersecting
Section titled “isIntersecting”isIntersecting:
boolean
Defined in: src/hooks/useIntersectionObserver/useIntersectionObserver.types.ts:20
Convenience boolean — entry?.isIntersecting ?? false.
ref: (
instance) =>void| (() =>VoidOrUndefinedOnly)
Defined in: src/hooks/useIntersectionObserver/useIntersectionObserver.types.ts:16
Ref callback to attach to the observed element.
Parameters
Section titled “Parameters”instance
Section titled “instance”T | null
Returns
Section titled “Returns”void | (() => VoidOrUndefinedOnly)