Interface IInViewStaticProps

Static properties for configuring the InView module.

interface IInViewStaticProps {
    __staticProp?: null;
    hasOut?: boolean;
    maxInitialDelay?: number;
    scrollDirection?: "horizontal" | "vertical";
}

Hierarchy (View Summary)

Properties

__staticProp?: null
hasOut?: boolean

Determines whether elements leaving the viewport should trigger an event.

true
maxInitialDelay?: number

Sets the maximum delay (in milliseconds) for initial element visibility. Delay is calculated based on element position.

1000
scrollDirection?: "horizontal" | "vertical"

Defines the primary scrolling axis used for delay calculations.

'vertical'