在标签布局中显示一个网站,即ionic2 +打字稿 [英] Show a website inside tab layout an ionic2 + typescript
本文介绍了在标签布局中显示一个网站,即ionic2 +打字稿的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在开发基于离子框架-v2的移动应用程序。我的应用是基于标签的应用程序。在最后一个标签中我想加载外部网站,但我无法实现它。
我想要下面的东西..
I am working on an ionic framework-v2 based mobile application. My application is a tab based application. In the last tab I want to load an external website, but I 'm not able to implement it. I Want something like below..
我在其中使用了标签。并在顶部的移动标签的配置文件中进行更改。但不知道如何在标签中显示我的网站。
I'm used tabs in it. and change in the config file for move tabs in top . but not figure it out how to display my website in the tabs.
有什么建议吗?
推荐答案
这就是我在我的应用程序中加载Ifream的方法。试一试
this is how I load a Ifream in my app. Give it a try
<iframe id="iframe" ng-src="{{url}}" style="overflow:auto;border:0px;width:100%;min-height:100vh">
</iframe>
这篇关于在标签布局中显示一个网站,即ionic2 +打字稿的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文