@ionic/core 0.1.4-8

This commit is contained in:
Brandy Carney
2018-03-19 17:53:02 -04:00
parent e8cf9927cc
commit 4d8a99f03b
13 changed files with 127 additions and 3 deletions

View File

@ -244,9 +244,23 @@ Dismiss the loading overlay after it has been presented.
#### onDidDismiss()
Returns a promise that resolves when the loading did dismiss. It also accepts a callback
that is called in the same circustances.
```
const {data, role} = await loading.onDidDismiss();
```
#### onWillDismiss()
Returns a promise that resolves when the loading will dismiss. It also accepts a callback
that is called in the same circustances.
```
const {data, role} = await loading.onWillDismiss();
```
#### present()