File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -130,12 +130,12 @@ Several directives are available to make it easier to structure your dialog cont
130
130
131
131
For example:
132
132
``` html
133
- <h2 mat-dialog-title >Delete all</h2 >
134
- <mat-dialog-content >Are you sure? </mat-dialog-content >
133
+ <h2 mat-dialog-title >Delete all elements? </h2 >
134
+ <mat-dialog-content >This will delete all elements that are currently on this page and cannot be undone. </mat-dialog-content >
135
135
<mat-dialog-actions >
136
- <button mat-button mat-dialog-close >No </button >
136
+ <button mat-button mat-dialog-close >Cancel </button >
137
137
<!-- The mat-dialog-close directive optionally accepts a value as a result for the dialog. -->
138
- <button mat-button [mat-dialog-close] =" true" >Yes </button >
138
+ <button mat-button [mat-dialog-close] =" true" >Delete </button >
139
139
</mat-dialog-actions >
140
140
```
141
141
You can’t perform that action at this time.
0 commit comments