Modal Services
show
Description: opens a dialog customized wiht parameters Parameters:
- type: ModalType - type of Modal(Error, Warning or Info)
- title: string - default value for the key if none found
- content: string - text inside of the dialog
- width?: string
|
number - width of the dialog - buttons?: Array
- buttons in the dialog
Example: show(ModalType.error, ‘key_error’, err.message) Remark: this function returns MatDialogRef
popup
Description: opens a popup customized wiht parameters Parameters:
- popupConfig: PopupConfig - customizable properties of the popup
Example: const popupConfig PopupConfig = new PopupConfig(); popup(popupConfig) Remark: this function returns Observable