未验证 提交 8483a63a 编写于 作者: O openharmony_ci 提交者: Gitee

!2961 2598 处理完成:内源演练问题修改

Merge pull request !2961 from ester.zhou/TR-2598
...@@ -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.
## AnimationItem.goToAndStop ## AnimationItem.goToAndStop
goToAndStop(value: number, isFrame: boolean): void goToAndStop(value: number, isFrame?: boolean): void
Sets the animation to stop at the specified frame or time. Sets the animation to stop at the specified frame or time.
...@@ -410,7 +410,7 @@ Sets the animation to stop at the specified frame or time. ...@@ -410,7 +410,7 @@ Sets the animation to stop at the specified frame or time.
## AnimationItem.goToAndPlay ## AnimationItem.goToAndPlay
goToAndPlay(value: number, isFrame: boolean): void goToAndPlay( value: number, isFrame: boolean, name?: string): void
Sets the animation to start from the specified frame or time progress. Sets the animation to start from the specified frame or time progress.
......
...@@ -274,7 +274,7 @@ Draws a quadratic curve on the canvas. ...@@ -274,7 +274,7 @@ Draws a quadratic curve on the canvas.
## arc ## arc
arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, anticlockwise?: number): void arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, anticlockwise?: boolean): void
Draws an arc on the canvas. Draws an arc on the canvas.
......
...@@ -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. |
......
...@@ -10,7 +10,7 @@ The **CustomDialogController** class is used to display a custom dialog box. ...@@ -10,7 +10,7 @@ The **CustomDialogController** class is used to display a custom dialog box.
## APIs ## APIs
CustomDialogController(value:{builder: CustomDialog, cancel?: () => void, autoCancel?: boolean}) CustomDialogController(value:{builder: CustomDialog, cancel?: () => void, autoCancel?: boolean, alignment?: DialogAlignment, offset?: Offset, customStyle?: boolean})
- Parameters - Parameters
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册