@@ -275,14 +275,14 @@ RichTextAnimation:
275275 properties :
276276 preset :
277277 description : >-
278- The animation preset to apply. Available presets:
278+ The animation preset to apply. Every preset starts with the clip. Available presets:
279279 <ul>
280- <li>`fadeIn` - fadeIn in animation </li>
281- <li>`slideIn` - slide in from a direction</li>
282- <li>`typewriter` - typewriter effect </li>
283- <li>`ascend` - ascend from a direction </li>
284- <li>`shift` - shift in from a direction</li>
285- <li>`movingLetters` - letters move in from a direction</li>
280+ <li>`fadeIn` - fade in</li>
281+ <li>`slideIn` - fade in while sliding in ` direction` </li>
282+ <li>`typewriter` - type the text out behind a cursor </li>
283+ <li>`ascend` - each word rises (`up`) or drops (`down`) into place </li>
284+ <li>`shift` - fade in while shifting a short distance in ` direction` </li>
285+ <li>`movingLetters` - fade in, then ripple the letters along ` direction` for the rest of the clip. Ignores `duration` and `style`. </li>
286286 </ul>
287287 type : string
288288 enum :
@@ -296,22 +296,25 @@ RichTextAnimation:
296296 duration :
297297 description : >-
298298 Override animation duration in seconds.
299- Must be between 0.1 and 30 seconds.
299+ Must be between 0.1 and 30 seconds. When omitted, the text animates at about 30 characters per second,
300+ taking at least 0.3 seconds and at most 90% of the clip.
300301 type : number
301302 minimum : 0.1
302303 maximum : 30
303304 example : 2
304305 style :
305306 description : >-
306- Animation style - animate by character or by word. Only applicable for typewriter and shift animations.
307+ Animate by character or by word. Applies to `fadeIn`, `slideIn`, `typewriter` and `shift`, where `shift`
308+ defaults to `character`. `ascend` always animates by word.
307309 type : string
308310 enum :
309311 - character
310312 - word
311313 example : " character"
312314 direction :
313315 description : >-
314- Direction for directional animations. Required for slideIn, ascend, shift, and movingLetters presets.
316+ The direction the text travels. Defaults to `left` for `slideIn` and `shift`, and to `up` for `ascend` and
317+ `movingLetters`.
315318 <ul>
316319 <li>`ascend` - supports: up, down</li>
317320 <li>`shift` - supports: left, right, up, down</li>
0 commit comments