Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { ViewController } from "ionic-angular";
- import { Component } from "@angular-core";
- // inline template
- @Component({
- selector: 'page-sl-options',
- templateUrl: 'sl-options.html'
- })
- export class SLOptionsPage{
- constructor(private viewCtrl: ViewController){}
- // method
- onAction(action: string){
- this.viewCtrl.dismiss({action: action});
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement