提交 881a2f13 编写于 作者: E ester.zhou

update docs

Signed-off-by: Nester.zhou <ester.zhou@huawei.com>
上级 5792198c
...@@ -31,7 +31,7 @@ Search(options?: { value?: string; placeholder?: string; icon?: string; controll ...@@ -31,7 +31,7 @@ Search(options?: { value?: string; placeholder?: string; icon?: string; controll
| Name| Type| Default Value| Description| | Name| Type| Default Value| Description|
| -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- |
| searchButton | string | –| Text on the search button located next to the search text box. By default, there is no search button.| | searchButton | string | –| Text on the search button located next to the search text box. By default, there is no search button.|
| placeholderColor | [ResourceColor](../../ui/ts-types.md#ResourceColor) | - | Placeholder text color.| | placeholderColor | [ResourceColor](../../ui/ts-types.md) | - | Placeholder text color.|
| placeholderFont | [Font](../../ui/ts-types.md) | - | Placeholder text style.| | placeholderFont | [Font](../../ui/ts-types.md) | - | Placeholder text style.|
| textFont | [Font](../../ui/ts-types.md) | - | Text font for the search text box.| | textFont | [Font](../../ui/ts-types.md) | - | Text font for the search text box.|
......
...@@ -31,7 +31,7 @@ TextArea(value?:{placeholder?: string controller?: TextAreaController}) ...@@ -31,7 +31,7 @@ TextArea(value?:{placeholder?: string controller?: TextAreaController})
## Attributes ## Attributes
In addition to [universal attributes](ts-universal-attributes.md), the following attributes are supported. In addition to [universal attributes](ts-universal-attributes-index.md), the following attributes are supported.
| Name | Type | Default Value | Description | | Name | Type | Default Value | Description |
| -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- |
......
...@@ -30,16 +30,16 @@ Canvas(context: CanvasRenderingContext2D) ...@@ -30,16 +30,16 @@ Canvas(context: CanvasRenderingContext2D)
## Attributes ## Attributes
[Universal attributes](ts-universal-attributes-size.md) are supported. [Universal attributes]( ts-universal-attributes-index.md) are supported.
## Events ## Events
In addition to [universal events](ts-universal-events-click.md), the following events are supported. In addition to [universal events](ts-universal-events-index.md), the following events are supported.
| Name | Parameter | Description | | Name | Parameter | Description |
| -------- | -------- | -------- | | -------- | -------- | -------- |
| onReady(callback: () =&gt; void) | None | Triggered when . | | onReady(callback: () =&gt; void) | None | Triggered when . |
## Example ## Example
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册