提交 33f6800a 编写于 作者: E ester.zhou

update doc (8460)

Signed-off-by: Nester.zhou <ester.zhou@huawei.com>
上级 c972c0ba
# LoadingProgress # LoadingProgress
> **NOTE**<br> The **\<LoadingProgress>** component is used to create a loading animation.
> This component is supported since API version 8. Updates will be marked with a superscript to indicate their earliest API version.
> **NOTE**
>
> This component is supported since API version 8. Updates will be marked with a superscript to indicate their earliest API version.
The **<LoadingProgress>** component is used to display the loading progress.
## Required Permissions ## Required Permissions
None None
## Child Components ## Child Components
None None
## APIs ## APIs
LoadingProgress() LoadingProgress()
Creates a **LoadingProgress** instance. Creates a **LoadingProgress** instance.
## Attributes ## Attributes
| Name | Type | Default Value | Description | | Name| Type| Default Value| Description|
| ----- | ----- | ------------- | --------------------------------------------- | | -------- | -------- | -------- | -------- |
| color | Color | - | Foreground color of the loading progress bar. | | color | [ResourceColor](../../ui/ts-types.md) | - | Foreground color of the loading progress bar.|
## Example ## Example
``` ```ts
// xxx.ets
@Entry @Entry
@Component @Component
struct LoadingProgressExample { struct LoadingProgressExample {
...@@ -41,4 +50,4 @@ struct LoadingProgressExample { ...@@ -41,4 +50,4 @@ struct LoadingProgressExample {
} }
``` ```
![en-us_image_0000001198839004](figures/loadingProgress.png) ![en-us_image_000000111864201](figures/en-us_image_000000111864201.gif)
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册