hydrococcus
hydrococcus

Reputation: 487

Ionic 2 Tabs/Footer and InAppBrowser

I use a simple function to open a WebPage in the InAppBrower:

lauchPage(url) {
    this.platform.ready().then(() => {

        console.log('ready');
        this.iab.create(url);

    })
}

But the Browser is launching in FullScreen an my Tabs are hidden. Is the a way to open the InAppBrowser just in a specific area in the App. For example in <ion-content>?

Upvotes: 3

Views: 1282

Answers (1)

Gabriel Barreto
Gabriel Barreto

Reputation: 6421

You could try using Themeable Browser and customizing it's height (i haven't tested the plugin, but since you can customize it, probably it'll fit to what you need).

But since you're creating a Page over a page, if someone clicks the tabs, the page probably still continue working in background, i advise you to use the Platform.resume() to close the page if something in your app is clicked.

Hope it helps :D

Upvotes: 2

Related Questions