/**
 * Shoppr - E-commerce app starter Ionic 4(https://www.enappd.com)
 *
 * Copyright © 2018-present Enappd. All rights reserved.
 *
 * This source code is licensed as per the terms found in the
 * LICENSE.md file in the root directory of this source .
 *
 */ import { Component , OnInit } from '@angular/core' ; import { ModalController , NavParams } from '@ionic/angular' ; @ Component ( { selector : 'app-infomodal' , templateUrl : './infomodal.page.html' , styleUrls : [ './infomodal.page.scss' ] , } ) export class InfomodalPage implements OnInit { title = '' ; value = '' ; constructor ( private modalController , private params ) { this . title = params . get ( 'title' ) ; this . value = params . get ( 'value' ) ; } ngOnInit ( ) { } dismiss ( ) { this . modalController . dismiss ( ) ; } }