Input disabled datepicker
+ Input disabled
+ [matDatepickerFilter]="filterOdd ? dateFilter : null" disabled>
@@ -98,9 +101,9 @@
Input disabled via FormControl
+ FormControl disabled
+ [max]="maxDate" [matDatepickerFilter]="filterOdd ? dateFilter : null">
@@ -114,9 +117,9 @@
Input disabled, datepicker popup enabled
+ Input disabled, datepicker enabled
+ [max]="maxDate" [matDatepickerFilter]="filterOdd ? dateFilter : null">
@@ -126,9 +129,9 @@
Datepicker with value property binding
+ Value binding
+ [max]="maxDate" [matDatepickerFilter]="filterOdd ? dateFilter : null">
diff --git a/src/demo-app/demo-material-module.ts b/src/demo-app/demo-material-module.ts
index 33ff49f3c389..7e4ffac77e73 100644
--- a/src/demo-app/demo-material-module.ts
+++ b/src/demo-app/demo-material-module.ts
@@ -6,6 +6,14 @@
* found in the LICENSE file at https://angular.io/license
*/
+import {A11yModule} from '@angular/cdk/a11y';
+import {CdkAccordionModule} from '@angular/cdk/accordion';
+import {BidiModule} from '@angular/cdk/bidi';
+import {ObserversModule} from '@angular/cdk/observers';
+import {OverlayModule} from '@angular/cdk/overlay';
+import {PlatformModule} from '@angular/cdk/platform';
+import {PortalModule} from '@angular/cdk/portal';
+import {CdkTableModule} from '@angular/cdk/table';
import {NgModule} from '@angular/core';
import {
MatAutocompleteModule,
@@ -24,31 +32,24 @@ import {
MatInputModule,
MatListModule,
MatMenuModule,
+ MatNativeDateModule,
MatPaginatorModule,
MatProgressBarModule,
MatProgressSpinnerModule,
MatRadioModule,
+ MatRippleModule,
MatSelectModule,
MatSidenavModule,
MatSliderModule,
MatSlideToggleModule,
MatSnackBarModule,
MatSortModule,
+ MatStepperModule,
MatTableModule,
MatTabsModule,
MatToolbarModule,
MatTooltipModule,
- MatStepperModule,
} from '@angular/material';
-import {MatNativeDateModule, MatRippleModule} from '@angular/material';
-import {CdkTableModule} from '@angular/cdk/table';
-import {CdkAccordionModule} from '@angular/cdk/accordion';
-import {A11yModule} from '@angular/cdk/a11y';
-import {BidiModule} from '@angular/cdk/bidi';
-import {OverlayModule} from '@angular/cdk/overlay';
-import {PlatformModule} from '@angular/cdk/platform';
-import {ObserversModule} from '@angular/cdk/observers';
-import {PortalModule} from '@angular/cdk/portal';
/**
* NgModule that includes all Material modules that are required to serve the demo-app.
diff --git a/src/demo-app/dialog/dialog-demo.html b/src/demo-app/dialog/dialog-demo.html
index dcb68eb03872..a4e2fba1eecb 100644
--- a/src/demo-app/dialog/dialog-demo.html
+++ b/src/demo-app/dialog/dialog-demo.html
@@ -16,28 +16,34 @@
Dialog dimensions
-
+ Width
+
-
+ Height
+
-
+ Min width
+
-
+ Min height
+
-
+ Max width
+
-
+ Max height
+
@@ -45,19 +51,23 @@ Dialog position
-
+ Top
+
-
+ Bottom
+
-
+ Left
+
-
+ Right
+
@@ -65,7 +75,8 @@ Dialog backdrop
-
+ Backdrop class
+
@@ -75,7 +86,8 @@ Other options
-
+ Button alignment
+
Start
End
Center
@@ -85,7 +97,8 @@ Other options
-
+ Dialog message
+
@@ -104,7 +117,8 @@ Other options
It's Jazz!
-
+ How much?
+
{{ data.message }}
diff --git a/src/demo-app/dialog/dialog-demo.ts b/src/demo-app/dialog/dialog-demo.ts
index 8e4ba9e3bd7a..b519069b7dc3 100644
--- a/src/demo-app/dialog/dialog-demo.ts
+++ b/src/demo-app/dialog/dialog-demo.ts
@@ -92,7 +92,8 @@ export class DialogDemo {
It's Jazz!
-
+ How much?
+
{{ data.message }}
diff --git a/src/demo-app/expansion/expansion-demo.html b/src/demo-app/expansion/expansion-demo.html
index 9e4ecb03f322..d3b0a94b375f 100644
--- a/src/demo-app/expansion/expansion-demo.html
+++ b/src/demo-app/expansion/expansion-demo.html
@@ -19,11 +19,13 @@ Single Expansion Panel
-
+ Collapsed height
+
-
+ Expanded height
+
diff --git a/src/demo-app/input/input-demo.html b/src/demo-app/input/input-demo.html
index d61f52c99508..d538ad3c9194 100644
--- a/src/demo-app/input/input-demo.html
+++ b/src/demo-app/input/input-demo.html
@@ -3,44 +3,51 @@