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 - - - Open Basic Modal - + + + Open Basic Modal + + - + + + Enter Parameters to Pass to the Modal + + + Parameters + + + - - - Pass Params - - - - Params - - {{ myParam }} - - - + + Open with Parameters + 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 @@ + + Close + Modals - Parameters entered: {{myParam}} - Close Modal + + Parameters passed: + {{myParam}} + + + No parameters passed. + + Close Modal
{{myParam}}
No parameters passed.