Interface IStaticProps

Static properties for a component. These properties remain constant throughout the lifecycle of the component. This interface extends IStaticProps, inheriting the static properties defined for modules.

Hierarchy

Properties

__fixHelperStaticProps?: any
classToToggle?: string

A class to be toggled on state change

Default

'viewed'
direction?: "horizontal" | "vertical"

Main scrolling direction

Default

'vertical'
hasDelay?: boolean

If need to use delays at first start

Default

true
intersectionRoot?: null | Element

Intersection root

maxDelay?: number

Max delay

Default

1000
resizeDebounce?: number

Timeout of resize event

Default

0
states?: "in" | "inout"

Define what states to trace.

Default

'in'
viewportTarget?: keyof IViewportCallbackTypes

Viewport target

Default

'any'