Skip to content

withScrollAnimationDebug JS

The withScrollAnimationDebug decorator adds development-only visual markers and progress information to a ScrollAnimationTimeline class. It is exported separately so applications can keep debugging code out of production bundles.

Usage

ts
import { ScrollAnimationTimeline, withScrollAnimationDebug } from '@studiometa/ui/ScrollAnimation';

const DebugTimeline = withScrollAnimationDebug(ScrollAnimationTimeline);

See the complete debug decorator API and debug example.