updated guide with info on how to use ionPopup

This commit is contained in:
Elie Steinbock 2015-07-05 15:28:12 +03:00
parent 8dd6d43e75
commit 83d9f28d82

View file

@ -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()`.