
Dialogs
Preview
Demo code
NotificationService::show()
Param | Type | Description |
---|---|---|
title | string | Title of the dialog |
text | string | Text to display in the dialog |
closeText | string | Close button label |
ConfirmationService::show()
Param | Type | Description |
---|---|---|
title | string | Title of the dialog |
text | string | Text to display in the dialog |
submitText | string | Submit button label |
cancelText | string | Cancel button label |
DialogService::open()
Param | Type | Description |
---|---|---|
reference | componentOrTemplateRef | Reference to a component or template |
config | DialogConfig | Check official Angular CDK docs |
Style Variables