import { Component , OnInit } from '@angular/core' ; import { NavController } from '@ionic/angular' ; import { Router } from '@angular/router' ; @ Component ( { selector : 'brew-parameter' , templateUrl : './brew-parameter.page.html' , styleUrls : [ './brew-parameter.page.scss' ] , } ) export class BrewParameterPage implements OnInit { constructor ( public navCtrl , private readonly router ) { } public ngOnInit ( ) { } public openManageParameters ( ) { this . router . navigate ( [ '/brew-parameter/manage' ] ) ; } public openSortParameters ( ) { this . router . navigateByUrl ( '/brew-parameter/sort' ) ; } public openDefaultParameters ( ) { this . router . navigateByUrl ( '/brew-parameter/default' ) ; } }