Nighthawk

Dialogs

Preview

Demo code

NotificationService::show()

ParamTypeDescription
titlestringTitle of the dialog
textstringText to display in the dialog
closeTextstringClose button label

ConfirmationService::show()

ParamTypeDescription
titlestringTitle of the dialog
textstringText to display in the dialog
submitTextstringSubmit button label
cancelTextstringCancel button label

DialogService::open()

ParamTypeDescription
referencecomponentOrTemplateRefReference to a component or template
configDialogConfigCheck official Angular CDK docs

Style Variables