From 0709af02df3e7b796cd26955f34fb94bd6c0eebb Mon Sep 17 00:00:00 2001 From: king_he <6384784@qq.com> Date: Thu, 2 Jun 2022 12:06:27 +0000 Subject: [PATCH] update en/application-dev/reference/arkui-ts/ts-basic-components-rating.md. Signed-off-by: king_he <6384784@qq.com> --- .../reference/arkui-ts/ts-basic-components-rating.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/en/application-dev/reference/arkui-ts/ts-basic-components-rating.md b/en/application-dev/reference/arkui-ts/ts-basic-components-rating.md index 23d8412098..8d8374bcb2 100644 --- a/en/application-dev/reference/arkui-ts/ts-basic-components-rating.md +++ b/en/application-dev/reference/arkui-ts/ts-basic-components-rating.md @@ -1,7 +1,7 @@ # Rating -> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE** +> **NOTE**
> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version. @@ -23,7 +23,7 @@ None Rating(options?: { rating: number, indicator?: boolean }) - Parameters - | Name | Type | Mandatory | Default Value | Description | + | Name | Type | Mandatory | Default Value | Description | | -------- | -------- | -------- | -------- | -------- | | rating | number | Yes | 0 | Value to rate. | | indicator | boolean | No | false | Used only as an indicator and cannot be operated. | @@ -31,7 +31,7 @@ Rating(options?: { rating: number, indicator?: boolean }) ## Attributes - | Name | Type | Default Value | Description | +| Name | Type | Default Value | Description | | -------- | -------- | -------- | -------- | | stars | number | 5 | Total number of stars. | | stepSize | number | 0.5 | Step of an operation. | @@ -40,7 +40,7 @@ Rating(options?: { rating: number, indicator?: boolean }) ## Events - | Name | Description | +| Name | Description | | -------- | -------- | | onChange(callback:(value: number) => void) | Triggered when the rating value changes. | -- GitLab