Question modal dialog with its own layout (which asks the user a question and wait for the answer) based on a material design that injected data and inherits from an [AbstractDialog]AbstractDialogComponent.

Hierarchy

Constructors

Properties

data: DialogData

Injected data that was passed in to a dialog.

dialogRef: MatDialogRef<PromptDialogComponent, DialogResult>

Reference to a dialog opened via the MatDialog service.

disableButton: boolean = true

Set submit button to disabled or enabled according to the user answer.

prompt: string
submitClick: boolean

Methods