import { Component } from "@angular/core";
import { IonicPage, NavController, NavParams } from "ionic-angular";
import { WebView } from "@ionic-native/ionic-webview/ngx";
/**
* Generated class for the ShopPage page.
*
* See https://ionicframework.com/docs/components/-sharpnavigation for more info on
* Ionic pages and navigation.
*/
@IonicPage()
@Component({
selector: "page-shop",
templateUrl: "shop.html",
})
export class ShopPage {
constructor(public navCtrl: NavController, public navParams: NavParams,private webview: WebView) {
}
ionViewDidLoad() {
console.log("ionViewDidLoad ShopPage");
}
}
has introduced the component, but how to open the webview, the official document is a simple sentence for me to reference the component.