-
Notifications
You must be signed in to change notification settings - Fork 53
No getComputedStyleValue on Polymer.Element? #83
Comments
At one point we discussed patching |
The plan of record will be for Note the correct incantation is the following (note the native syntax in the else clause is what we would shim to work transparently; the syntax is a bit ugly but that's the native API):
|
Not sure if I should create a separate issue for this, but it appears that it is also no longer possible to retrieve the value of a CSS mixin using |
@jimivdw that was never supported, and is actually really hard to do with the ApplyShim, as the original |
Closing this issue. Polymer has |
From @arthurevans on March 4, 2017 2:54
I suspect it's used significantly less frequently that
updateStyles()
, but it seemed kind of funky to me that we had a facade forupdateStyles
onPolymer.Element
, but not forgetComputedStyleValue
.Currently documented solution for this is:
Which hopefully I got right. If not, it's here:
https://github.com/Polymer/docs/blame/master/app/2.0/docs/devguide/custom-css-properties.md#L361
Copied from original issue: Polymer/polymer#4374
The text was updated successfully, but these errors were encountered: