hyTags
HomeHome Getting StartedGetting Started DocumentationDocumentation

style-animate

Animates style changes made within the commands block over a specified duration
Parameter
Type
Description
duration
number
The animation duration in seconds (defaults to 0.15 if not specified)
return
type
Optional return value from the commands block
commands
commands
The commands block containing style changes to animate
return
void
A promise that resolves when the animation completes