Reference
MoveTime
A duration or delay.
Overview
A duration or delay.
- A number is always milliseconds —
80is 80ms. This never changes. - A string states its unit:
'80ms','0.08s'.
Every public timing option accepts it, and it is normalized to milliseconds before any
animation math runs. In templates, a static attribute reads naturally with a unit
(moveStaggerStep="80ms"); a bound expression is a number of milliseconds
([moveStaggerStep]="80").
Stable API — covered by semantic-versioning guarantees.
- Kind: Type alias
- Stability:
stable
Definition
type MoveTime = number | `${number}ms` | `${number}s`;