Convenience methods for creating various kinds of Dialogs.
Methods
# confirm(text)
Create a confirmation dialog.
Parameters:
Name | Type | Description |
---|---|---|
text |
String
|
The confirm message text |
# custom(component, componentProps)
Create a custom dialog.
Parameters:
Name | Type | Description |
---|---|---|
component |
VueComponent
|
The dialog component |
componentProps |
Object
|
The dialog component props |
# promptText(text)
Create a text input prompt dialog.
Parameters:
Name | Type | Description |
---|---|---|
text |
String
|
The prompt message text |