mirror of
https://github.com/donl/meteor-ionic.git
synced 2026-05-31 22:07:29 -06:00
updated guide with info on how to use ionPopup
This commit is contained in:
parent
8dd6d43e75
commit
83d9f28d82
1 changed files with 10 additions and 0 deletions
10
GUIDE.md
10
GUIDE.md
|
|
@ -362,3 +362,13 @@ 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>
|
||||
```
|
||||
|
||||
## Popups
|
||||
|
||||
You show alerts using the `ionPopup` component. This can be done as follows:
|
||||
|
||||
```
|
||||
IonPopup.alert({title: 'title', subTitle: 'subTitle'});
|
||||
```
|
||||
|
||||
You can also use `IonPopup.confirm({})`, `IonPopup.prompt({})` and `IonPopup.close()`.
|
||||
Loading…
Add table
Add a link
Reference in a new issue