diff --git a/src/demo-app/dialog/dialog-demo.html b/src/demo-app/dialog/dialog-demo.html
index 491e8031393f..975d81d534c3 100644
--- a/src/demo-app/dialog/dialog-demo.html
+++ b/src/demo-app/dialog/dialog-demo.html
@@ -26,6 +26,14 @@
Dialog position
Other options
+
+
+ Start
+ End
+ Center
+
+
+
Disable close
diff --git a/src/demo-app/dialog/dialog-demo.ts b/src/demo-app/dialog/dialog-demo.ts
index 7323d8f67173..1efe194bd31d 100644
--- a/src/demo-app/dialog/dialog-demo.ts
+++ b/src/demo-app/dialog/dialog-demo.ts
@@ -10,6 +10,7 @@ import {MdDialog, MdDialogRef, MdDialogConfig} from '@angular/material';
export class DialogDemo {
dialogRef: MdDialogRef;
lastCloseResult: string;
+ actionsAlignment: string;
config: MdDialogConfig = {
disableClose: false,
width: '',
@@ -34,7 +35,8 @@ export class DialogDemo {
}
openContentElement() {
- this.dialog.open(ContentElementDialog, this.config);
+ let dialogRef = this.dialog.open(ContentElementDialog, this.config);
+ dialogRef.componentInstance.actionsAlignment = this.actionsAlignment;
}
}
@@ -78,7 +80,7 @@ export class JazzDialog {
-
+