626 B
626 B
menu-item
Class: MenuItem
new MenuItem(options)
optionsObjectclickFunction - Callback when the menu item is clickedselectorString - Call the selector of first responder when clicked (OS X only)typeString - Can benormal,separator,submenu,checkboxorradiolabelStringsublabelStringacceleratorAcceleratorenabledBooleanvisibleBooleancheckedBooleansubmenuMenu - Should be specified forsubmenutype menu item, when it's specified thetype: 'submenu'can be omitted for the menu item