Property StaggerChildrenSec
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
StaggerChildrenSec
Delay interval (seconds) applied sequentially to each child Motion that inherits its active
label from this Motion (it declares variants and none of animate, initial and exit — see
Animate) when that label changes or this Motion's mount enter plays:
the i-th such child, in document order, is delayed an additional DelayChildrenSec + StaggerChildrenSec
- i on top of its OWN DelaySec. 0 (default) means no stagger (every inheriting
child responds at the same time). Unlike AnimatePresence's own per-child enter/exit stagger
(
V.AnimatePresence(staggerSec:)), this orchestrates a PLAIN parent → child label propagation — no AnimatePresence boundary is required; toggling this Motion'sanimateprop is enough. A descendant naming a label of its own opts out of both the label inheritance and this stagger, as Framer's controlling variant nodes do. As Framer Motion'sstaggerChildrendoes, the index counts this Motion's own children: a child with variants numbers its own inheriting children from zero, starting them with itself, and only a Motion with neither variants nor a label of its own hands this sequence on to the children below it.
public float StaggerChildrenSec { get; init; }
Property Value
- float