Binding 如何在聚合物中填充数据?
我想在从jquery编辑期间填充数据 将有重复的标签,我有唯一的id为每个标签 下面是我的示例代码Binding 如何在聚合物中填充数据?,binding,polymer,Binding,Polymer,我想在从jquery编辑期间填充数据 将有重复的标签,我有唯一的id为每个标签 下面是我的示例代码 <finding-pop-up-tr id='uniqueId2'> <template> <paper-input label="position" id="position" > </paper-input> <paper-input label="expected" id="expected" >
<finding-pop-up-tr id='uniqueId2'>
<template>
<paper-input label="position" id="position" > </paper-input>
<paper-input label="expected" id="expected" > </paper-input>
</template>
</finding-pop-up-tr">
<finding-pop-up-tr" id='uniqueId2'>
<template>
<paper-input label="position" id="position" > </paper-input>
<paper-input label="expected" id="expected" > </paper-input>
</template>
</finding-pop-up-tr>
<script>
addEventListener('WebComponentsReady', function() {
Polymer({
// define element prototype here
is: 'finding-pop-up-tr'
});
});
</script>
addEventListener('WebComponentsReady',函数(){
聚合物({
//在这里定义元素原型
是:“查找弹出式tr”
});
});
填充数据是什么意思?我有一个数组,如arrayValue=[{“预期”:419,“位置”:43},{“预期”:419,“位置”:43}]。。我只想用这些数据填充输入框