@tempots/ui
InViewportMode type
Represents the mode for determining if an element is in the viewport.
partial
: Indicates that the element is considered in the viewport if any part of it is visible. -full
: Indicates that the element is considered in the viewport only if it is fully visible.
Signature:
export type InViewportMode = 'partial' | 'full';