@@ -235,7 +235,7 @@ Sets the direction in which the specified animation plays.
...
@@ -235,7 +235,7 @@ Sets the direction in which the specified animation plays.
Defines an **AnimationItem** object, which is returned by the **loadAnimation** interface and has attributes and interfaces. The attributes are described as follows:
Defines an **AnimationItem** object, which is returned by the **loadAnimation** interface and has attributes and interfaces. The attributes are described as follows:
| Name | Type | Description |
| Name | Type | Description |
| -------- | -------- | -------- |
| -------- | -------- | -------- |
| name | string | Animation name. |
| name | string | Animation name. |
| isLoaded | boolean | Whether the animation is loaded. |
| isLoaded | boolean | Whether the animation is loaded. |
...
@@ -387,7 +387,7 @@ Sets the playback direction of an animation.
...
@@ -387,7 +387,7 @@ Sets the playback direction of an animation.
@@ -129,7 +129,7 @@ Scrolls to the specified index.
...
@@ -129,7 +129,7 @@ Scrolls to the specified index.
## Events
## Events
| Name | Description |
| Name | Description |
| -------- | -------- |
| -------- | -------- |
| onScroll(xOffset: number, yOffset: number) => void | Invoked to return the horizontal and vertical offsets during scrolling when the specified scroll event occurs. |
| onScroll(xOffset: number, yOffset: number) => void | Invoked to return the horizontal and vertical offsets during scrolling when the specified scroll event occurs. |
| onScrollEdge(side: Edge) => void | Callback for the event of scrolling to the edge. |
| onScrollEdge(side: Edge) => void | Callback for the event of scrolling to the edge. |