Lines Matching refs:Menu
1 # Menu Control
9 … and **bindContextMenu** methods. To display a multi-level menu, use the [Menu](ts-basic-component…
23 > 1. This feature is only available in scenarios where the [Menu](ts-basic-components-menu.md) c…
108 | value | [ResourceStr](ts-types.md#resourcestr) | Yes | Menu item text.<br>**Atom…
109 | icon<sup>10+</sup> | [ResourceStr](ts-types.md#resourcestr) | No | Menu item icon.<br>**Atomi…
120 | title | [ResourceStr](ts-types.md#resourcestr) | No | Menu title.<br>**N…
181 Menu with textual menu items:
190 Text('click for Menu')
216 Menu with custom menu items:
230 Text(`Menu${index as number + 1}`).fontSize(20)
237 console.info(`Menu${index as number + 1} Clicked!`)
358 Menu() {
359 MenuItem({ startIcon: this.iconStr, content: "Menu option" })
360 MenuItem({ startIcon: this.iconStr, content: "Menu option" })
361 MenuItem({ startIcon: this.iconStr, content: "Menu option" })
402 Menu() {
403 MenuItem({ startIcon: this.iconStr, content: "Menu option" })
404 MenuItem({ startIcon: this.iconStr, content: "Menu option" })
405 MenuItem({ startIcon: this.iconStr, content: "Menu option" })
455 Menu() {
456 MenuItem({ startIcon: this.iconStr, content: "Menu option" })
457 MenuItem({ startIcon: this.iconStr, content: "Menu option" })
458 MenuItem({ startIcon: this.iconStr, content: "Menu option" })
536 Menu() {
537 MenuItem({ startIcon: this.iconStr, content: "Menu option" })
538 MenuItem({ startIcon: this.iconStr, content: "Menu option" })
539 MenuItem({ startIcon: this.iconStr, content: "Menu option" })
581 Text('click for Menu')
620 Menu() {
621 MenuItem({ startIcon: this.iconStr, content: "Menu option" })
622 MenuItem({ startIcon: this.iconStr, content: "Menu option" })
623 MenuItem({ startIcon: this.iconStr, content: "Menu option" })