src/app/dialogs/remove-dialog/remove-dialog.component.ts
This component is a confirmation dialog for anything that involves deleting
selector | app-remove-dialog |
styleUrls | ./remove-dialog.component.scss |
templateUrl | ./remove-dialog.component.html |
Properties |
|
Methods |
constructor(dialogRef: MatDialogRef<RemoveDialogComponent | boolean>, data: DialogData)
|
|||||||||
Parameters :
|
onDeleteClick |
onDeleteClick()
|
Returns :
void
|
onNoClick |
onNoClick()
|
Returns :
void
|
Public data |
Type : DialogData
|
Decorators :
@Inject(MAT_DIALOG_DATA)
|
Public dialogRef |
Type : MatDialogRef<RemoveDialogComponent | boolean>
|
matchValidator |
Type : ValidatorFn
|
Default value : () => {...}
|
verificationNameInput |
Default value : new FormControl('', this.matchValidator)
|
./remove-dialog.component.scss