将TradingView小部件嵌入Google App Maker

时间:2018-10-10 10:06:01

标签: javascript google-app-maker

我不确定如何将此代码嵌入Google App Maker中。 我需要创建“客户端脚本”的帮助,可以使用HTML块调用该脚本来显示小部件。

<!-- TradingView Widget BEGIN -->
<div class="tradingview-widget-container">
<div class="tradingview-widget-container__widget"></div>
<div class="tradingview-widget-copyright"><a 
href="https://www.tradingview.com/symbols/NASDAQ-AAPL/technicals/" 
rel="noopener" target="_blank"><span class="blue-text">Technical Analysis 
for AAPL</span></a> by TradingView</div>
<script type="text/javascript" src="https://s3.tradingview.com/external- 
embedding/embed-widget-technical-analysis.js" async>
{
"width": 425,
"height": 410,
"symbol": "NASDAQ:AAPL",
"locale": "en",
"interval": "1D"
}
</script>
</div>
<!-- TradingView Widget END -->

0 个答案:

没有答案