Skip to content

Commit

Permalink
Update animation-properties.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JujuAdams committed Aug 13, 2024
1 parent 0006461 commit d4ad076
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions 9.0/animation-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,30 @@ Restores animation properties to the defaults set in [`__scribble_config_animati

 

## `scribble_anim_disabled(state)`

**Returns**: N/A (`undefined`)

|Name |Datatype|Purpose |
|-------|--------|-------------------------------------------|
|`state`|boolean |Whether to enable or disable text animation|

Disabling text animations is a common accessibility requirement and is useful for people who have diminished eyesight or find it disorientating to read rapidly moving text.

?> Disabling text animations will **not** disable typist animations.

 

## `scribble_anim_get_disabled()`

**Returns**: Boolean, whether text animations are disabled

|Name|Datatype|Purpose|
|----|--------|-------|
|None| | |

 

## `scribble_anim_wave(size, frequency, speed)`

**Returns**: The text element
Expand Down

0 comments on commit d4ad076

Please sign in to comment.