__GetComputedStyleByKeyReturns the resolved style value for a CSS property of an element
| Key | Description |
|---|---|
| element | Any Element object. |
| key | A string indicating the CSS property key to be retrieved. Keep in mind that not every CSS property is supported. Refer to the Compatibility table to see which properties are supported. |
Resolved style value for a CSS property of specified element.
Unlike browser, this PAPI won't trigger document reflow.
The frontend framework can retrieve resolved style value of an Element as follows.
Loading...