From 0cc61ae0fe3ae40e7777e322e7d2913ed7a54510 Mon Sep 17 00:00:00 2001
From: Emilio Martinez-Cordero
Date: Tue, 3 Oct 2017 00:49:16 -0700
Subject: [PATCH] demo(dialog): add fields for minWidth, minHeight, maxWidth
and maxHeight
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Not adding `minWidth`, `minHeight`, `maxWidth` and `maxHeight` to `config` to avoid overriding the default value of `maxWidth` particularly—the type checker will require it to be a string. Instead, setting `config` to type `MatDialogConfig` is prefered to appease the type checker since those four properties are optional.
---
src/demo-app/dialog/dialog-demo.html | 18 ++++++++++++++++++
src/demo-app/dialog/dialog-demo.ts | 4 ++--
2 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/src/demo-app/dialog/dialog-demo.html b/src/demo-app/dialog/dialog-demo.html
index ffceaaae13bf..b54508cf30b0 100644
--- a/src/demo-app/dialog/dialog-demo.html
+++ b/src/demo-app/dialog/dialog-demo.html
@@ -23,6 +23,24 @@