Class: MenuItem

ui.MenuItem

Element representing a regular menu item.

Properties:
Name Type Description
icon string

(default: "") The ID of an optional icon.

text string

(default: "") The menu item label text.

shortcut string

(default: "") A keyboard shortcut. Separate the modifer and key with +, e.g. "Ctrl+N". Valid modifiers are Ctrl, Alt, and Shift.

Extends