mirror of
https://github.com/donl/meteor-ionic.git
synced 2026-06-03 06:12:24 -06:00
commit
d2d88755fc
1 changed files with 7 additions and 0 deletions
7
GUIDE.md
7
GUIDE.md
|
|
@ -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>
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue