OptionalbuttonsOptionalcancel_Unless set to false, clicking on the darkened area outside of the dialog will cancel the dialog.
OptionalcancelDefault button to press to cancel the dialog. Defaults to the last button.
OptionalcomponentVue component
OptionalconfirmDefault button to press to confirm the dialog. Defaults to the first button.
OptionaldarkenCreate a dark backdrop behind the dialog
OptionaldraggableSet to false to stop the dialog from being dragged around
OptionalformCreates a form in the dialog
Optionalform_OptionaliconOptionalidOptionalkeyboard_A list of keyboard shortcuts that only work inside the dialog
OptionallinesArray of HTML any strings for each line of content in the dialog.
Optionalpart_Order that the different interface types appear in the dialog. Default is 'form', 'lines', 'component'.
Optionalprogress_Display a progress bar in the dialog
Optionalprogress?: numberA progress value between 0 and 1
OptionalresizableSelect on which axes the dialog can be resized. None by default
OptionalsidebarCreates a dialog sidebar
OptionalsingleIf true, the dialog will only have one button to close it
Optionaltitle_Menu in the handle bar
OptionaltoolbarsOptionalwidthOptionalonRuns when the dialog is built
OptionalonTriggered when the user presses a specific button
Optionalevent: EventOptionalonOptionalonTriggered when the user attemps to close the dialog
Optionalevent: EventOptionalonFunction to execute when the user confirms the dialog
OptionalonFunction to run when anything in the form is changed
OptionalonFunction to execute when the dialog is opened
OptionalonRuns when the dialog is resized
List of buttons