new MenuItem (options) MenuItem.js:16 Name Type Description options object Name Type Description label string optional label for menu entry may include accelerator by placing & before letter) type string optional separator, checkbox, or undefined styles object optional additional CSS styles to apply to this MenuItem accelerator string optional see Accelerator for inputs (e.g., ctrl+shift+A) submenu MenuItem optional attaches a submenu (and changes type to submenu) checked boolean optional check the checkbox