new ModalMenuOptions()
Creates a new object with the specified options.
constructor(
items?: ModalMenuOptions.MenuItem[],
width?: string | number,
minWidth?: 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)
- minWidth — Minimum width of the menu, in pixels or CSS length with unit (optional)
Related
class ModalMenuOptions
A class that contains options for the display of a modal menu.
