Docs (4.0.0)
class MenuOptions constructor

new UITheme​.MenuOptions

Creates a new object with the specified options.

constructor(items?: MenuItem[], width?: string | number)

Parameters

  • items — List of items to be included in the menu
  • width — Target width of the menu, in pixels or CSS length with unit (optional)

Related

  • class MenuOptions staticA class that contains options for the display of a modal menu.