Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

How to Display Navbar In Webview (InAppBrowser) in IONIC

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>