vue-mvvm / alert / AlertService
AlertService
A wrapper of the DialogService to simply display common dialogs
Constructors
Constructor
ts
new AlertService(ctx): AlertService;Parameters
ctx
Returns
AlertService
Methods
showAlert()
ts
showAlert(options): Promise<void>;Show an alert dialog using the defined dialog component in the AppShell
Parameters
options
Required data for the dialog
Returns
Promise<void>
showConfirm()
ts
showConfirm(options): Promise<boolean>;Show an confirm dialog using the defined dialog component in the AppShell
Parameters
options
Required data for the dialog
Returns
Promise<boolean>