style property

CSSStyleDeclaration? get style

Implementation

CSSStyleDeclaration? get style {
  if (isA<HTMLElement>()) {
    var htmlElement = this as HTMLElement;
    return htmlElement.style;
  } else if (isA<SVGElement>()) {
    var svgElement = this as SVGElement;
    return svgElement.style;
  } else if (isA<MathMLElement>()) {
    var mathMlElement = this as MathMLElement;
    return mathMlElement.style;
  }
  return null;
}