diff --git a/en/application-dev/reference/arkui-ts/ts-basic-components-button.md b/en/application-dev/reference/arkui-ts/ts-basic-components-button.md index 33e0654aaa787c1ee4bd58e7d198653463a32c80..68d1c22f59642c5fb0d1460c4c3be13481fb9210 100644 --- a/en/application-dev/reference/arkui-ts/ts-basic-components-button.md +++ b/en/application-dev/reference/arkui-ts/ts-basic-components-button.md @@ -2,6 +2,7 @@ > ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE** +> > This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version. @@ -21,7 +22,8 @@ Supported ## APIs - Button(options?: {type?: ButtonType, stateEffect?: boolean}) - **Table1** options parameters + + **Table 1** options parameters | Name | Type | Mandatory | Default Value | Description | | -------- | -------- | -------- | -------- | -------- | @@ -30,14 +32,15 @@ Supported - Button(label?: string, options?: { type?: ButtonType, stateEffect?: boolean }) + Creates a button component based on text content. In this case, the **<Button>** component cannot contain child components. - **Table2** value parameters - - | Name | Type | Mandatory | Default Value | Description | - | -------- | -------- | -------- | -------- | -------- | - | label | string | No | - | Button text. | - | options | Object | No | - | For details, see the **options** parameters. | + **Table 2** value parameters + +| Name | Type | Mandatory | Default Value | Description | +| -------- | -------- | -------- | -------- | -------- | +| label | string | No | - | Button text. | +| options | Object | No | - | For details, see the **options** parameters. | ## Attributes diff --git a/en/application-dev/ui/figures/en-us_image_0000001189744672.png b/en/application-dev/ui/figures/en-us_image_0000001189744672.png new file mode 100644 index 0000000000000000000000000000000000000000..926b023516156e8daa94afee4b9d2769d0e2547e Binary files /dev/null and b/en/application-dev/ui/figures/en-us_image_0000001189744672.png differ diff --git a/en/application-dev/ui/figures/en-us_image_0000001190463780.png b/en/application-dev/ui/figures/en-us_image_0000001190463780.png new file mode 100644 index 0000000000000000000000000000000000000000..30b7d2bb30c9f9a2cd8b3419285267b6be4f0143 Binary files /dev/null and b/en/application-dev/ui/figures/en-us_image_0000001190463780.png differ diff --git a/en/application-dev/ui/ui-js-overview.md b/en/application-dev/ui/ui-js-overview.md index 39612e9d878502f3a855b24dae62eee1ea8b5436..e69b8f2553764abe0420e13febb351faaaadb724 100644 --- a/en/application-dev/ui/ui-js-overview.md +++ b/en/application-dev/ui/ui-js-overview.md @@ -1,8 +1,9 @@ # Overview - The web-like development paradigm uses the classical three-stage programming model, in which OpenHarmony Markup Language (HML) is used for building layouts, CSS for defining styles, and JavaScript for adding processing logic. UI components are associated with data through one-way data-binding. This means that when data changes, the UI automatically updates with the new data. This development paradigm has a low learning curve for frontend web developers, allowing them to quickly transform existing web applications into ArkUI applications. It could be helpful if you are developing small- and medium-sized applications with simple UIs. +For details about the components, see [Component Reference (JavaScript-based Web-like Development Paradigm)](../reference/arkui-js/js-components-common-attributes.md). + ## Overall Architecture diff --git a/en/application-dev/ui/ui-ts-basic-components-button.md b/en/application-dev/ui/ui-ts-basic-components-button.md index cbbcab6f9333b56013b67d7bed7cbd45e5d98d42..e43a42df91c43c8e605d84617f853d58e2b235a3 100644 --- a/en/application-dev/ui/ui-ts-basic-components-button.md +++ b/en/application-dev/ui/ui-ts-basic-components-button.md @@ -1,15 +1,16 @@ # Button -The **\