Skip to content

Commit 931c3be

Browse files
demo(dialog): add fields for minWidth, minHeight, maxWidth and maxHeight
1 parent f4c23b9 commit 931c3be

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/demo-app/dialog/dialog-demo.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,24 @@ <h2>Dialog dimensions</h2>
2323
</mat-form-field>
2424
</p>
2525

26+
<p>
27+
<mat-form-field>
28+
<input matInput [(ngModel)]="config.minWidth" placeholder="Min Width">
29+
</mat-form-field>
30+
<mat-form-field>
31+
<input matInput [(ngModel)]="config.minHeight" placeholder="Min Height">
32+
</mat-form-field>
33+
</p>
34+
35+
<p>
36+
<mat-form-field>
37+
<input matInput [(ngModel)]="config.maxWidth" placeholder="Max Width">
38+
</mat-form-field>
39+
<mat-form-field>
40+
<input matInput [(ngModel)]="config.maxHeight" placeholder="Max Height">
41+
</mat-form-field>
42+
</p>
43+
2644
<h2>Dialog position</h2>
2745

2846
<p>

0 commit comments

Comments
 (0)