style property
CSS
get
style
Returns the attribute style
as CSS.
Implementation
CSS get style {
var attr = getAttribute('style');
if (attr == null) {
var css = CSS();
setAttribute('style', css);
attr = getAttribute('style')!;
}
var cssHandler = attr.valueHandler as DOMAttributeValueCSS;
return cssHandler.css;
}
set
style
(Object? value)
Implementation
set style(Object? value) => setAttribute('style', value);