MCPcopy
hub / github.com/thebuilder/react-intersection-observer / defaultFallbackInView

Function defaultFallbackInView

src/observe.ts:23–25  ·  view source on GitHub ↗
(inView: boolean | undefined)

Source from the content-addressed store, hash-verified

21 * - `true` or `false`: Set the `inView` value to this regardless of intersection state
22 * **/
23export function defaultFallbackInView(inView: boolean | undefined) {
24 unsupportedValue = inView;
25}
26
27/**
28 * Generate a unique ID for the root element

Callers 2

InView.test.tsxFile · 0.90
useInView.test.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…