0
的getComputedStyle在
我们polymer1.0组成部分,我们有这样的:聚合物2.0异步和
attached: function()
{
var something=this.getComputedStyleValue("--flxs-" + prop)
this.async(function()
{
// do some work here.
});
}
在2.0中,既没有定义this.getComputedStyleValue this.async。
任何想法有什么选择?
单独一个'Polymer.Async'不起作用。需要添加更多名称空间。 [API参考](https://www.polymer-project.org/2.0/docs/api/namespaces/Polymer.Async) –