Advertisement
rama_astadipati

sl-options.ts

Apr 15th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. import { ViewController } from "ionic-angular";
  2. import { Component } from "@angular-core";
  3. // inline template
  4. @Component({
  5. selector: 'page-sl-options',
  6. templateUrl: 'sl-options.html'
  7. })
  8. export class SLOptionsPage{
  9. constructor(private viewCtrl: ViewController){}
  10.  
  11. // method
  12. onAction(action: string){
  13. this.viewCtrl.dismiss({action: action});
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement