globalReveal

globalReveal utility function

Utility function for animations.

Signature

globalReveal(rw)

Parameters

Parameter
Description

rw

-

Usage

const transformHook = (rw) => {
    const revealAttrs = globalReveal(rw);
    // Returns data attributes for reveal animations
};

Last updated

Was this helpful?