Skip to content

ScrollRevealContext ​

Properties ​

hidden ​

true while the chrome should be translated out of view.

Type: ComputedRef

Source: client/lib/use/useScrollReveal.js:45

isIdle ​

Live isIdle signal (see ScrollRevealState).

Type: Ref

Source: client/lib/use/useScrollReveal.js:48

isPastThreshold ​

Live isPastThreshold signal (see ScrollRevealState).

Type: ComputedRef

Source: client/lib/use/useScrollReveal.js:47

isScrollingUp ​

Live isScrollingUp signal (see ScrollRevealState).

Type: Ref

Source: client/lib/use/useScrollReveal.js:46

remeasure ​

Recompute the hide threshold from the element's current position. Call after layout changes that move the element without changing its identity (the watch only remeasures when the target or element identity changes).

Type: () => void

Source: client/lib/use/useScrollReveal.js:49

Source ​

client/lib/use/useScrollReveal.js:44