2015-07-04 46 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,這就解釋了爲什麼存在兼容性問題以及該問題的潛在解決方法。 不要太懶!