@dayat11 wrote:
Im develop Mobile With IONIC Cordova, and Im very beginner in this… i want to question How to Display Navbar in Page Webview, my page webview use InAppBrowser.
this is my page.html
<ion-header> <ion-navbar> <button ion-button menuToggle> <ion-icon name="menu"></ion-icon> </button> <ion-title>WV</ion-title> </ion-navbar> </ion-header> <ion-content padding> </ion-content>this my page.ts
@IonicPage() @Component({ selector: 'page-wv', templateUrl: 'wv.html', }) export class WvPage { my_url: any; constructor(public navCtrl: NavController, public navParams: NavParams, private IAB: InAppBrowser) { } ionViewDidLoad() { console.log('ionViewDidLoad WvPage'); } ngOnInit(){ const browser = this.IAB.create('http://myUrl.com/', '_self', {location: 'no'}); } }
Posts: 1
Participants: 1