Reference
MoveLoopDirective
Stable API — covered by semantic-versioning guarantees.
Overview
Stable API — covered by semantic-versioning guarantees.
- Kind: Directive
- Stability:
stable
Selector
[moveLoop]
Inputs
| Input | Type | Default | Required | Description |
|---|---|---|---|---|
moveLoop |
MovePreset | MoveKeyframes |
'none' |
||
moveDuration |
unknown |
undefined |
Transform optionalTimeAttribute('moveDuration'); reads as number | undefined. |
|
moveEasing |
string | undefined |
undefined |
||
moveDelay |
unknown |
undefined |
Transform optionalTimeAttribute('moveDelay'); reads as number | undefined. |
|
moveDisabled |
unknown |
undefined |
Transform optionalBooleanAttribute; reads as boolean | undefined. |
|
moveSpring |
MoveSpring | undefined |
undefined |
||
moveLoopType |
MoveRepeatType |
'loop' |
'loop' (default) restarts each cycle from the first keyframe. 'reverse' alternates, so the animation plays back down to its start — what breathing, pulsing and yoyo effects need. |
|
moveLoopDelay |
unknown |
0 |
Pause between cycles — a MoveTime: a number is milliseconds, or "150ms" / "0.15s". Transform timeAttribute('moveLoopDelay', 0); reads as number. |
|
moveLoopCount |
unknown |
Infinity |
Cycle count. Defaults to endless, which is what makes it a loop. Transform (inline function); reads as number. |