From 95d03cad9b5d191d53ec5dc42be2aa635eee12e8 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Thu, 28 Jan 2016 11:27:37 -0500 Subject: [PATCH] docs(demos): prettifying modal demo --- demos/modal/index.ts | 2 +- demos/modal/main.html | 36 ++++++++++++++++------------------ demos/modal/modal-content.html | 13 ++++++++++-- 3 files changed, 29 insertions(+), 22 deletions(-) diff --git a/demos/modal/index.ts b/demos/modal/index.ts index ac0e981855..f419f9ddbe 100644 --- a/demos/modal/index.ts +++ b/demos/modal/index.ts @@ -51,7 +51,7 @@ export class ModalContentPage { this.myParam = params.get('myParam'); } - closeModal() { + dismiss() { this.viewCtrl.dismiss(); } } diff --git a/demos/modal/main.html b/demos/modal/main.html index b9bdeae928..2641b167d8 100644 --- a/demos/modal/main.html +++ b/demos/modal/main.html @@ -2,25 +2,23 @@ Modals - - - - + +
+ + +
- + + + Enter Parameters to Pass to the Modal + + + Parameters + + + - - - - - - - Params - - {{ myParam }} - - - +
+ +
diff --git a/demos/modal/modal-content.html b/demos/modal/modal-content.html index 74fdea736d..912b898394 100644 --- a/demos/modal/modal-content.html +++ b/demos/modal/modal-content.html @@ -1,8 +1,17 @@ + + + Modals -
Parameters entered: {{myParam}}
- +
+
Parameters passed:
+

{{myParam}}

+
+
+

No parameters passed.

+
+