html - Polymer Binding 仅在 IE 中不适用于 CSS

标签 html css binding polymer

我有一个绑定(bind),可以通过 polymer 绑定(bind)更改我的 div 的颜色。它在 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];
}
});

最佳答案

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

关于html - Polymer Binding 仅在 IE 中不适用于 CSS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31217071/

相关文章:

javascript - 从vb.net中的vb窗口窗体调用html javascript函数

html - 组合 CSS 属性选择器

html - 为什么视口(viewport)元标记中的 initial-scale=1 什么都不做?

javascript - 没有标签的 <p-button> 显示一个空的透明 <span> 样式 ui-button-text 覆盖其他文本

java - 何时在 Spring 中使用 ElementFactory 方法

cocoa - NSArrayController:如何以编程方式清除选择?

html - CSS 字体显示不正常

html - 创建黑白网格 HTML/CSS

html - 中心 CSS3 六边形

jquery - 使用 Jquery 将函数绑定(bind)到多个元素