【发布时间】:2019-06-06 18:50:16
【问题描述】:
我在 NativeScript 中使用自定义视图插件,并在其文档中:https://market.nativescript.org/plugins/nativescript-filter-select
可以选择使用 xml 添加项目模板。
在我看来,我应该这样传递:
<FilterSelect
item_template=" xml template here "
/>
我试过了:
<FilterSelect
item_template="<Label col='0' text='{{ ${this._search_param} }}'
textWrap='true' />"
但不起作用。 (不渲染)
谁能帮帮我?
【问题讨论】:
-
你的意思是它不起作用,插件在此之后根本不起作用或者它没有按预期呈现模板或者你看到任何错误?
标签: vue.js nativescript