Lines Matching refs:menu
9 …ith the [bindMenu](ts-universal-attributes-menu.md#bindmenu) or [bindContextMenu](ts-universal-att…
19 Creates a fixed container for a menu. This API does not have any parameters.
23 > Rules for calculating the width of menus and menu items:
25 > During the layout, the width of each menu item is expected to be the same. If a child component h…
27 … child components. If a menu item's content area is wider than two columns, the **Menu** component…
31 > For the menu border [width](ts-universal-attributes-size.md#width), the minimum value is 64 vp.
45 Sets the size of all text within the menu.
55 | value | [Length](ts-types.md#length) | Yes | Size of all text within the menu. If the value of …
61 Sets the size of all text within the menu.
71 | value | [Font](ts-types.md#font) | Yes | Size of all text within the menu.<br>Default value:<br…
76 Sets the font color of all text within the menu.
86 …or](ts-types.md#resourcecolor) | Yes | Font color of all text within the menu.<br>Default value: …
92 Sets the radius of the menu border corners.
102 …menu border corners.<br>Default value: **8vp** for 2-in-1 devices and **20vp** for other devices<b…
108 Sets the style of the menu item divider. If this attribute is not set, the divider will not be disp…
120 …menu item divider.<br>- **strokeWidth**: stroke width of the divider.<br>- **color**: color of the…
126 Sets the style of the top and bottom dividers for the menu item group. If this attribute is not set…
136 …menu item group.<br>- **strokeWidth**: stroke width of the divider. The default value is 1 px.<br>…
142 Sets the submenu expanding mode of the menu.
152 …dingMode](#submenuexpandingmode12) | Yes | Submenu expanding mode of the menu.<br>Default value: …
165 | EMBEDDED_EXPAND | Embedded mode. Submenus are expanded while embedded within the main menu. |
166 | STACK_EXPAND | Stack mode. Submenus are expanded above the main menu. |
224 Text('click to show menu')
236 
240 This example demonstrates a regular menu (using symbol-type icons).
298 Text('click to show menu')