harmony 鸿蒙MenuItemGroup
MenuItemGroup
The <MenuItemGroup> component represents a group of menu items.
NOTE
This component is supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.
Child Components
This component contains the MenuItem child component.
APIs
MenuItemGroup(value?: MenuItemGroupOptions)
Parameters
Name | Type | Mandatory | Description |
---|---|---|---|
value | MenuItemGroupOptions | No | Header and footer of the menu item group. |
MenuItemGroupOptions
Name | Type | Mandatory | Description |
---|---|---|---|
header | ResourceStr |CustomBuilder | No | Header of the menu item group. |
footer | ResourceStr |CustomBuilder | No | Footer of the menu item group. |
Sample
For details, see Example in Menu.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙ArkTS-based Declarative Development Paradigm
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦