【发布时间】:2019-03-25 01:57:06
【问题描述】:
我正在尝试将{{data.title}} 之类的变量放在按钮内
<button onclick = "window.plugins.socialsharing.share (data.title)"> message only </ button>
但我不知道该怎么做。
知道怎么做吗?
【问题讨论】:
-
你能详细说明你想达到什么目标吗?将 data.title 传递给方法?你能分享你的模板的完整代码,包括 ngFor
标签: json ionic-framework ionic3