From bd35647fcfe4122ca273c86e8469190b567c1401 Mon Sep 17 00:00:00 2001 From: Eliezer Date: Tue, 11 Aug 2015 22:34:18 +0300 Subject: [PATCH] Update GUIDE.md --- GUIDE.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/GUIDE.md b/GUIDE.md index 6043ac5..d84774f 100644 --- a/GUIDE.md +++ b/GUIDE.md @@ -363,6 +363,13 @@ Then attach it to a `button` or `a` element by passing in the name of the templa ``` +If you'd like to have another element dismiss the modal, add `data-dismiss=modal` to it. For example, you can create a close button as follows: +``` + +``` + ## Popups You show alerts using the `ionPopup` component. This can be done as follows: @@ -372,10 +379,3 @@ IonPopup.alert({title: 'title', subTitle: 'subTitle', template: 'some text to sh ``` You can also use `IonPopup.confirm({})`, `IonPopup.prompt({})` and `IonPopup.close()`. - -If you'd like to have another element dismiss the modal, add `data-dismiss=modal` to it. For example, you can create a close button as follows: -``` - -```