Package Exports
- ionic-lifecycle-interface
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ionic-lifecycle-interface) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ionic-lifecycle-interface
ionic-lifecycle-interface is a package for using the Ionic Framework.
How To Install
$ npm i --save ionic-lifecycle-interface
How To Use
- install the package
- import the package to directory
- add
implements <name of interface minus ion>
- add to the class
Example
import { Component } from '@angular/core';
import { ViewDidLoad } from 'ionic-lifecycle-interface';
@Component({
templateUrl: 'my-page.html'
})
export class MyPage implements ViewDidLoad {
ionViewDidLoad() {
console.log("Page Loaded");
}
}