Update GUIDE.md

This commit is contained in:
Eliezer 2015-07-03 01:40:09 +03:00
parent baa7d02c0a
commit 58db05e6e4

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>
```