在我们的 polymer1.0 组件中,我们有这个:
attached: function ()
{
var something=this.getComputedStyleValue("--flxs-" + prop)
this.async(function()
{
// do some work here.
});
}
在 2.0 中,this.getComputedStyleValue this.async 都没有定义。
知道有什么替代方案吗?