Displays a modal dialog showing buttons with the texts given as values with the options-object to be selected by the user.
Use with await
to receive the text the user selected while the dialog closes.
The class-parameter allows for specific styling with css.
Generated using TypeDoc
Displays a non-modal dialog showing buttons with the texts given as values with the options-object to be selected by the user. When the user uses a button, the given callback function is envolde with the key the selected text is associated with. The class-parameter allows for specific styling with css. Returns a Menu-object.