From 2ab315e5c1fd10604e86c33e054f11ede0746f29 Mon Sep 17 00:00:00 2001
From: king_he <6384784@qq.com>
Date: Wed, 8 Jun 2022 01:55:58 +0000
Subject: [PATCH] update
en/application-dev/reference/arkui-ts/ts-basic-components-toggle.md.
Signed-off-by: king_he <6384784@qq.com>
---
.../reference/arkui-ts/ts-basic-components-toggle.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/en/application-dev/reference/arkui-ts/ts-basic-components-toggle.md b/en/application-dev/reference/arkui-ts/ts-basic-components-toggle.md
index a017cb09fb..a27d7f1469 100644
--- a/en/application-dev/reference/arkui-ts/ts-basic-components-toggle.md
+++ b/en/application-dev/reference/arkui-ts/ts-basic-components-toggle.md
@@ -23,7 +23,7 @@ Toggle(options: { type: ToggleType, isOn?: boolean })
| Name | Type | Mandatory | Default Value | Description |
| -------- | -------- | -------- | -------- | -------- |
| type | ToggleType | Yes | - | Type of the toggle. |
- | isOn | boolean | No | false | Initial state of the toggle.
> **NOTE**
> If **isOn** is not set during component creation, the selected state can be retained during component reuse. If **isOn** is set, the selected state needs to be retained during component reuse after the selected state is recorded using an event method. |
+ | isOn | boolean | No | false | Initial state of the toggle.
**NOTE**
If **isOn** is not set during component creation, the selected state can be retained during component reuse. If **isOn** is set, the selected state needs to be retained during component reuse after the selected state is recorded using an event method. |
- ToggleType enums
@@ -39,7 +39,7 @@ Toggle(options: { type: ToggleType, isOn?: boolean })
| Name | Type | Default Value | Description |
| -------- | -------- | -------- | -------- |
| selectedColor | Color | - | Background color of the toggle when it is enabled. |
-| switchPointColor | Color | - | Color of the circular slider of the **Switch** type.
> **NOTE**
> This attribute is valid only when type is set to **ToggleType.Switch**. |
+| switchPointColor | Color | - | Color of the circular slider of the **Switch** type.
**NOTE**
This attribute is valid only when type is set to **ToggleType.Switch**. |
## Events
--
GitLab