简体   繁体   English

IE11中的聚合物含量选择

[英]polymer content select in IE11

DOM rendering differs in chrome and IE11. chrome和IE11中的DOM呈现方式有所不同。 In chrome it works good but in IE all the values in the [[item]] are together in one tag . 在chrome中,效果很好,但在IE中, [[item]]中的所有值都放在一个标签中

 <template is="dom-repeat" items="[[distChildren]]"> <px-column label> <content select=".item[[item]]"></content> </px-column> </template> 

如果使用dom-repeat,请在选择后添加$。

<content select$=".item[[item]]"></content>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM