Polymer 聚合物-调整大小不适用于铁名单
我有一个嵌套元素,其模板如下:Polymer 聚合物-调整大小不适用于铁名单,polymer,iron-list,Polymer,Iron List,我有一个嵌套元素,其模板如下: <template> <span>Short text</span> <template is="dom-if" if="[[isFullShown]]">[[full]]</template> </template> 这反过来又嵌套在我的铁名单中 <iron-list> <template> <my-element></my-e
<template>
<span>Short text</span>
<template is="dom-if" if="[[isFullShown]]">[[full]]</template>
</template>
这反过来又嵌套在我的铁名单中
<iron-list>
<template>
<my-element></my-element>
</template>
</iron-list>
当我触发时,我显示隐藏文本并调用notifyResize
,如果我正在查看检查,我希望看到列表中所有项目的translate3D
属性发生更改,以指示其由于项目大小更改而重新布局……但我没有
我做错了什么?你找到答案了吗?
<iron-list>
<template>
<my-element></my-element>
</template>
</iron-list>