未验证 提交 0f100120 编写于 作者: K king_he 提交者: Gitee

update en/application-dev/reference/arkui-ts/ts-container-gridcontainer.md.

Signed-off-by: Nking_he <6384784@qq.com>
上级 294a34f9
# GridContainer # GridContainer
> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE** > **NOTE**<br>
> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version. > 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 @@ This component can contain child components. ...@@ -23,7 +23,7 @@ This component can contain child components.
GridContainer(options?: { columns?: number | 'auto', sizeType?: SizeType, gutter?: Length, margin?: Length}) GridContainer(options?: { columns?: number | 'auto', sizeType?: SizeType, gutter?: Length, margin?: Length})
- Parameter - Parameter
| Name | Type | Mandatory | Default Value | Description | | Name | Type | Mandatory | Default Value | Description |
| -------- | -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- | -------- |
| columns | number \| 'auto' | No | 'auto' | Total number of columns in the current layout. | | columns | number \| 'auto' | No | 'auto' | Total number of columns in the current layout. |
| sizeType | SizeType | No | SizeType.Auto | Device size type. | | sizeType | SizeType | No | SizeType.Auto | Device size type. |
...@@ -31,7 +31,7 @@ GridContainer(options?: { columns?: number | 'auto', sizeType?: SizeType, gutter ...@@ -31,7 +31,7 @@ GridContainer(options?: { columns?: number | 'auto', sizeType?: SizeType, gutter
| margin | Length | No | - | Margin of the grid layout. | | margin | Length | No | - | Margin of the grid layout. |
- SizeType enums - SizeType enums
| Name | Description | | Name | Description |
| -------- | -------- | | -------- | -------- |
| XS | Device of the minimum size. | | XS | Device of the minimum size. |
| SM | Small-sized device. | | SM | Small-sized device. |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册