How can I load webpage into <ion-content>


#1

Hi!

I try to load the whole webpage like http://www.example.com/mobileversion into my <ion-content> but I don’t know the way to do it. Can I use <iframe> or the ionic framework provided any tag?

Please give me any idea.

Thank you.


#2

You technically can use a iframe, but it’s not really suggested.
It’s not a good UI/UX paradigm to load external content with an iframe.

Maybe check out the cordova inappbrowser.

http://plugins.cordova.io/#/package/org.apache.cordova.inappbrowser


#3

But that plugin opens the pages in a new window, I have the same problem, I want to display a webpage in the same window into the ion-content


#4

hi have you got any solution ?