@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

@ -2034,6 +2034,7 @@ declare global {
namespace JSXElements {
export interface IonNavAttributes extends HTMLAttributes {
root?: any;
rootParams?: any;
swipeBackEnabled?: boolean;
}
}

View File

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

View File

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

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()

View File

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

View File

@ -12,6 +12,11 @@
any
#### rootParams
any
#### swipeBackEnabled
boolean
@ -24,6 +29,11 @@ boolean
any
#### root-params
any
#### swipe-back-enabled
boolean

View File

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

View File

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

View File

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