style property

CSS style

Gets runtime style of node as CSS.

Implementation

CSS get style {
  return CSS(getAttribute('style'));
}
void style=(Object? cssText)

Sets runtime style of node parsed as CSS.

Implementation

set style(Object? cssText) {
  var css = CSS(cssText);
  setAttribute('style', css.style);
}