src/ui/dialog/smart-dialog.service.ts
A service used for easy displaying of dialogs at the application level.
Methods |
|
Public closeDialog |
closeDialog()
|
Closes the current SmartDialogComponent, if any.
Returns :
void
|
Public deregisterOutlet | ||||||
deregisterOutlet(outlet?: SmartDialogOutletComponent)
|
||||||
Deregisters the SmartDialogOutletComponent.
Parameters :
Returns :
void
|
Public registerOutlet | ||||||
registerOutlet(outlet: SmartDialogOutletComponent)
|
||||||
Registers the global SmartDialogOutletComponent. Only one can be registered per application.
Parameters :
Returns :
void
|
Public showDialog | ||||||
showDialog(config: SmartDialogConfig)
|
||||||
Displays a SmartDialogComponent according to the provided configuration.
Parameters :
Returns :
Promise<DialogEvent>
|