1.0.7 • Published 6 years ago

ionic-lifecycle-interface v1.0.7

Weekly downloads
98
License
MIT
Repository
github
Last release
6 years ago

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");
  }

}
1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.0

6 years ago