EffectTiming type exported

Last updated: 2026-03-05T20:47:10.119Z

Metrics

LOC: 1 Complexity: 1 Params: 0

Signature

type EffectTiming

Summary

Controls when an effect runs relative to the step action: - "before" — effect runs and completes before the action starts. Good for: grow (expand element, then fill it). - "during" — effect starts at the same time as the action and runs concurrently (fire-and-start). Good for: zoom, spotlight, label, pin (visible while the action is happening). - "after" — effect runs after the action completes successfully. Good for: confetti, shake (react to the completed action).

Source Code

export type EffectTiming = "before" | "during" | "after";

No outgoing dependencies.

No incoming dependencies.