@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

@ -1,3 +1,18 @@
<a name="0.1.4-8"></a>
## [0.1.4-8](https://github.com/ionic-team/ionic/compare/v0.1.4-7...v0.1.4-8) (2018-03-19)
### Bug Fixes
* **back-button:** apply the proper color to the back button ([7d2de18](https://github.com/ionic-team/ionic/commit/7d2de18)), closes [#14177](https://github.com/ionic-team/ionic/issues/14177)
### Features
* **nav:** support for rootParams ([50abcf5](https://github.com/ionic-team/ionic/commit/50abcf5))
<a name="0.1.4-7"></a>
## [0.1.4-7](https://github.com/ionic-team/ionic/compare/v0.1.4-6...v0.1.4-7) (2018-03-16)

View File

@ -20,7 +20,7 @@ The Ionic Core package contains the Web Components that make up the reusable UI
Easiest way to start using Ionic Core is by adding a script tag to the CDN:
<script src="https://unpkg.com/@ionic/core@0.1.4-7/dist/ionic.js"></script>
<script src="https://unpkg.com/@ionic/core@0.1.4-8/dist/ionic.js"></script>
Any Ionic component added to the webpage will automatically load. This includes writing the component tag directly in HTML, or using JavaScript such as `document.createElement('ion-toggle')`.

View File

@ -1,6 +1,6 @@
{
"name": "@ionic/core",
"version": "0.1.4-7",
"version": "0.1.4-8",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@ionic/core",
"version": "0.1.4-7",
"version": "0.1.4-8",
"description": "Base components for Ionic",
"keywords": [
"ionic",

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