Skip to content

UseIsSupported

katanakit-js / useIsSupported

function useIsSupported(): boolean;

Defined in: infrastructure/observer/observer.service.ts:50

Checks whether IntersectionObserver is available in the current environment.

boolean

true if IntersectionObserver is supported.

if (useIsSupported()) {
// safe to use observer APIs
}