> - The sequence of translate, scale, and rotate affects the animation effect.
> - The sequence of **translate**, **scale**, and **rotate** affects the animation effect.
>
> - transformOrigin works only for scale and rotate.
> - **transformOrigin** works only for scale and rotate.
Set the animation attributes by using the options parameter.
Set the animation attributes by using the **options** parameter.
```html
<!-- xxx.hml -->
...
...
@@ -209,15 +210,15 @@ export default {
> **NOTE**
>
> direction: mode of playing the animation.
> **direction**: mode of playing the animation.
>
> normal: plays the animation in forward loop mode.
> **normal**: plays the animation in forward loop mode.
>
> reverse: plays the animation in reverse loop mode.
> **reverse**: plays the animation in reverse loop mode.
>
> alternate: plays the animation in alternating loop mode. When the animation is played for an odd number of times, the playback is in forward direction. When the animation is played for an even number of times, the playback is in reverse direction.
> **alternate**: plays the animation in alternating loop mode. When the animation is played for an odd number of times, the playback is in forward direction. When the animation is played for an even number of times, the playback is in reverse direction.
>
> alternate-reverse: plays the animation in reverse alternating loop mode. When the animation is played for an odd number of times, the playback is in reverse direction. When the animation is played for an even number of times, the playback is in forward direction.
> **alternate-reverse**: plays the animation in reverse alternating loop mode. When the animation is played for an odd number of times, the playback is in reverse direction. When the animation is played for an even number of times, the playback is in forward direction.
## Adding an Event and Calling a Method
...
...
@@ -227,16 +228,16 @@ Animation objects support animation events and methods. You can achieve the inte