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 Type Definitions ClickCallback (e) menuItem.js:49 The click callback Name Type Description e InputEvent