0
In unserer polymer1.0 Komponente, hatten wir diese:Polymer 2,0 async und getComputedStyle
attached: function()
{
var something=this.getComputedStyleValue("--flxs-" + prop)
this.async(function()
{
// do some work here.
});
}
In 2.0, beide this.getComputedStyleValue this.async nicht definiert ist.
Irgendeine Idee, was ist die Alternative?
Alone 'Polymer.Async' funktioniert nicht. Ein weiterer Namespace muss hinzugefügt werden. [API-Referenz] (https://www.polymer-project.org/2.0/docs/api/namespaces/Polymer.Async) –