Merge pull request #231 from elie222/patch-1

Update GUIDE.md
This commit is contained in:
Nick Wientge 2015-07-03 10:14:50 -04:00
commit d2d88755fc

View file

@ -362,3 +362,10 @@ Then attach it to a `button` or `a` element by passing in the name of the templa
```
<button data-ion-modal="myModal">Open Modal</button>
```
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:
```
<button class="button button-positive" data-dismiss=modal>
Close Modal
</button>
```