Dart API Referencedart:htmlSVGStylable

SVGStylable Interface

The SVGStylable interface is implemented on all objects corresponding to SVG elements that can have style, {{SVGAttr("class") and presentation attributes specified on them.

Subinterfaces

SVGAElement, SVGCircleElement, SVGClipPathElement, SVGDefsElement, SVGDescElement, SVGEllipseElement, SVGFilterElement, SVGFilterPrimitiveStandardAttributes, SVGForeignObjectElement, SVGGElement, SVGGlyphRefElement, SVGGradientElement, SVGImageElement, SVGLineElement, SVGMarkerElement, SVGMaskElement, SVGPathElement, SVGPatternElement, SVGPolygonElement, SVGPolylineElement, SVGRectElement, SVGSVGElement, SVGStopElement, SVGSwitchElement, SVGSymbolElement, SVGTextContentElement, SVGTitleElement, SVGUseElement

Methods

Code CSSValue getPresentationAttribute(String name) #

Returns the base (i.e., static) value of a given presentation attribute as an object of type CSSValue . The returned object is live; changes to the objects represent immediate changes to the objects to which the CSSValue is attached.
CSSValue getPresentationAttribute(String name);

Fields

Code final CSSStyleDeclaration style #

Corresponds to attribute style on the given element.
final CSSStyleDeclaration style;

Code final SVGAnimatedString $dom_svgClassName #

Corresponds to attribute class on the given element.
final SVGAnimatedString $dom_svgClassName;

This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.