From 1f0925e3f5b74e6fc18a250ab1f83d6d4be0619a Mon Sep 17 00:00:00 2001
From: king_he <6384784@qq.com>
Date: Mon, 27 Jun 2022 12:08:52 +0000
Subject: [PATCH] update
en/application-dev/reference/arkui-ts/ts-container-tabs.md. Signed-off-by:
king_he <6384784@qq.com>
---
.../reference/arkui-ts/ts-container-tabs.md | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/en/application-dev/reference/arkui-ts/ts-container-tabs.md b/en/application-dev/reference/arkui-ts/ts-container-tabs.md
index 4f797a9f48..92d613d70c 100644
--- a/en/application-dev/reference/arkui-ts/ts-container-tabs.md
+++ b/en/application-dev/reference/arkui-ts/ts-container-tabs.md
@@ -1,11 +1,11 @@
# Tabs
-> ![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.
-The **<Tabs>** component is a container component that allows users to switch between content views through tabs. Each tab page corresponds to a content view.
+The **** component is a container component that allows users to switch between content views through tabs. Each tab page corresponds to a content view.
## Required Permissions
@@ -15,7 +15,7 @@ None
## Child Components
-The **<Tabs>** component can contain [TabContent](ts-container-tabcontent.md) child components.
+A **** component can contain multiple [TabContent](ts-container-tabcontent.md) components.
## APIs
@@ -23,14 +23,14 @@ The **<Tabs>** component can contain [TabContent](ts-container-tabcontent.
Tabs(value: {barPosition?: BarPosition, index?: number, controller?: [TabsController](#tabscontroller)})
- Parameters
- | Name | Type | Mandatory | Default Value | Description |
+ | Name | Type | Mandatory | Default Value | Description |
| -------- | -------- | -------- | -------- | -------- |
- | barPosition | BarPosition | No | BarPosition.Start | Tab bar position for creating the **<Tabs>** container component. |
+ | barPosition | BarPosition | No | BarPosition.Start | Tab bar position for creating the **** container component. |
| index | number | No | 0 | Initial tab index. |
| controller | [TabsController](#tabscontroller) | No | - | Tab controller. |
- BarPosition enums
- | Name | Description |
+ | Name | Description |
| -------- | -------- |
| Start | If the **vertical** attribute is set to **true**, the tab is on the left of the container. If the **vertical** attribute is set to **false**, the tab is on the top of the container. |
| End | If the **vertical** attribute is set to **true**, the tab is on the right of the container. If the **vertical** attribute is set to **false**, the tab is at the bottom of the container. |
@@ -50,7 +50,7 @@ Touch target configuration is not supported.
| animationDuration | number | 200 | Animation duration of the tab content. |
- BarMode enums
- | Name | Description |
+ | Name | Description |
| -------- | -------- |
| Scrollable | The actual layout width of the tab bar is used. If the actual width exceeds the total length, the tab bar is scrollable. |
| Fixed | The widths of all tab bars are evenly allocated. |
--
GitLab