2015-07-04 40 views
0

我有绑定来改变我的div与聚合物绑定的颜色。它在IE中除外。聚合物绑定在CSS中只能在IE中工作

<div horizontal layout class="navigation" style="background-color:{{toolbarColor}};"> 

</div> 
<script> 
     Polymer('mapscontroller-element', { 

      currentPoint: 0, 
      toolbarColor: "#0099cc", 
      ... 

currentPointChanged: function() { 
       this.toolbarColor = this.toolbarColorArray[this.currentPoint]; 
} 
}); 

回答

0

那么问题是什么?我花了5秒钟用Google搜索,并找到了polymer documentation,这就解释了为什么存在兼容性问题以及该问题的潜在解决方法。 不要太懒!