platform-components-ng/projects/platform-components-lib/src/lib/components/dialog/qpp-dialog.service.ts
Qpp dialog service
Properties |
|
Methods |
constructor(overlay: Overlay, trapFactory: ConfigurableFocusTrapFactory)
|
|||||||||
|
Parameters :
|
| close | ||||||||
close(componentIntance: any)
|
||||||||
|
Close
Parameters :
Returns :
void
void |
| register | ||||||||||||
register(view: string, dialogDefinition: QppDialogDefinition)
|
||||||||||||
|
Register
Parameters :
Returns :
void
void |
| show | ||||||||||||||||
show(view: string, data: any, config?: QppDialogConfig)
|
||||||||||||||||
|
Show
Parameters :
Returns :
QppDialog | undefined
QppDialog |
| showDialog | ||||||||||||
showDialog(dialogDef: QppDialogDefinition, data: any)
|
||||||||||||
|
Show dialog
Parameters :
Returns :
QppDialog
QppDialog |
| showMessage | ||||||||||||||||||||
showMessage(message: string, messageType: number, duration: number)
|
||||||||||||||||||||
|
Show toast message using Materialize Toast
Parameters :
Returns :
void
void |
| showPopUp | ||||||||||||
showPopUp(message: string, dialogType: string)
|
||||||||||||
|
Show popup
Parameters :
Returns :
QppDialog
QppDialog |
| componentOverlayRef |
Type : OverlayRef
|
| Static Readonly DIALOG_TYPE |
Type : object
|
Default value : {
CONFIRM: "CONFIRM",
PROMPT: "PROMPT"
}
|
| dialogMap |
Default value : new Map()
|
| Static Readonly MESSAGE_TYPE |
Type : object
|
Default value : {
WARNING: 1,
ERROR: 2,
SUCCESS: 3,
NONE: 4
}
|
|
Type of message used on showMessage method |
| viewMap |
Default value : new Map<string, QppDialogDefinition>()
|