getPropertyValue method Null safety

String getPropertyValue(
  1. String property
)

Returns the property value given a property name. var value = style.getPropertyValue(property); The following JavaScript code queries the value of the margin property in a CSS selector rule:

var declaration = document.styleSheets0.cssRules0.style; var value = declaration.getPropertyValue('margin'); // "1px 2px"

Implementation

external String getPropertyValue(String property);