@pixodesk/svg-animator-web 1.0.21 → 1.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -124,7 +124,7 @@ createAnimator({
124
124
  `animator.mode` selects the playback engine:
125
125
 
126
126
  - `'auto'` (default) — try the Web Animations API, fall back to `requestAnimationFrame`.
127
- - `'webapi'` — Web Animations API only.
127
+ - `'waapi'` — Web Animations API only.
128
128
  - `'frames'` — `requestAnimationFrame` only; honours `animator.frameRate`. Required for path morphing.
129
129
 
130
130
  ### Document format & effects
@@ -134,10 +134,10 @@ same shape as the JSON export. It comes in two modes:
134
134
 
135
135
  - **Mode A** — has `children`: the player renders the SVG tree and animates it.
136
136
  - **Mode B** — no `children`: the player animates a pre-existing SVG DOM, mapping
137
- element ids to animation specs via `animator.animate`.
137
+ element ids to animation specs via `animator.animateById`.
138
138
 
139
139
  Elements may also carry a `node.effects` bucket (structural effects such as
140
- `transformation`, `repeater`, `maskedBy`, `trimPath`, `clone`, `fillGradient` /
140
+ `transformBy`, `repeater`, `maskedBy`, `trimPath`, `clone`, `fillGradient` /
141
141
  `strokeGradient`, `textAlongPath`). This player materialises and removes them at
142
142
  runtime before any other normalisation.
143
143