Ionic 2:嵌入ScheduleOnce视图

时间:2019-01-26 01:05:54

标签: ionic-framework ionic2 ionic-native

我需要在通过Ionic 2创建的移动应用程序中嵌入一个Schedule Schedule javascript代码,在wordpress网站中,代码段的完成方式如下:

<div id="SOIDIV_testpage" data-so-page="testpage" data-height="550" data-style="border: 1px solid #d8d8d8; min-width: 290px; max-width: 900px;" data-psz="10"></div>
<script type="text/javascript" src="https://cdn.scheduleonce.com/mergedjs/so.js"></script>

我可以在Ionic中通过将其作为字符串传递给内部html属性来做到这一点,因为我一直在考虑Ionic使用webview等。

[innerHTML] = <stringvariablewithcontentsabove>

谢谢。

0 个答案:

没有答案
相关问题