How to open a webview inside a frame in Ionic?

I need to download the HTML code inside the frame on a page in the Ionic app without opening a new window or closing the rest of the page.

The idea is to create a frame that opens a web page without covering or violating the rest of the page, such as the title, buttons, etc.

Basically, what I want to do is equivalent to Android WebView in the Ionic framework application.

Is it possible?

There is not much code, this is a simple "Message Details" page for a messaging application, namely that the messages should be displayed as a web page.

<ion-view view-title="Detalles de mensaje" class="discover-page"> <ion-nav-buttons side="right"> <button class="button button-icon icon ion-navicon-round" ng-click="openPopover($event)"> </button> </ion-nav-buttons> <ion-nav-buttons side="left"> <button class="button button-icon icon ion-ios7-arrow-back" ng-click="goBack()"> </button> </ion-nav-buttons> <ion-content scroll="false"> </ion-content> </ion-view> 

I need to show the title with the top buttons and the webview below them.

+6
source share
1 answer

You just want to show any webview in your application with your title. Yes, this is possible with an iframe html tag . But this is only possible for http web views, not for https web views such as paypal.

+6
source

Source: https://habr.com/ru/post/985441/


All Articles