mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 11:17:19 +08:00
@ionic/core 0.1.4-8
This commit is contained in:
@ -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)
|
||||
|
||||
|
@ -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')`.
|
||||
|
||||
|
2
core/package-lock.json
generated
2
core/package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ionic/core",
|
||||
"version": "0.1.4-7",
|
||||
"version": "0.1.4-8",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ionic/core",
|
||||
"version": "0.1.4-7",
|
||||
"version": "0.1.4-8",
|
||||
"description": "Base components for Ionic",
|
||||
"keywords": [
|
||||
"ionic",
|
||||
|
1
core/src/components.d.ts
vendored
1
core/src/components.d.ts
vendored
@ -2034,6 +2034,7 @@ declare global {
|
||||
namespace JSXElements {
|
||||
export interface IonNavAttributes extends HTMLAttributes {
|
||||
root?: any;
|
||||
rootParams?: any;
|
||||
swipeBackEnabled?: boolean;
|
||||
}
|
||||
}
|
||||
|
@ -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()
|
||||
|
||||
|
@ -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()
|
||||
|
||||
|
@ -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()
|
||||
|
||||
|
@ -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()
|
||||
|
||||
|
@ -12,6 +12,11 @@
|
||||
any
|
||||
|
||||
|
||||
#### rootParams
|
||||
|
||||
any
|
||||
|
||||
|
||||
#### swipeBackEnabled
|
||||
|
||||
boolean
|
||||
@ -24,6 +29,11 @@ boolean
|
||||
any
|
||||
|
||||
|
||||
#### root-params
|
||||
|
||||
any
|
||||
|
||||
|
||||
#### swipe-back-enabled
|
||||
|
||||
boolean
|
||||
|
@ -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()
|
||||
|
||||
|
@ -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()
|
||||
|
||||
|
@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user