Mirrow docs

svg element

This page outlines the attributes Mirrow exposes for this tag. Values map to native SVG where possible and list Mirrow compiler expansions when relevant.

Attributes

AttributeTypeMaps ToNotes
attuple[2] (number, number)x
y
baseProfilestring—
boxtuple[4] (number, number, number, number)viewBox
classstring—
clipPathstringclip-path
clipRulestringclip-rule
colorstring—
colorInterpolationstringcolor-interpolation
colorInterpolationFiltersstringcolor-interpolation-filters
colorRenderingstringcolor-rendering
contentScriptTypestring—
contentStyleTypestring—
cursorstring—
displaystring—
fillstring—
fillOpacitynumberfill-opacity
fillRulestringfill-rule
filterstring—
idstring—
imageRenderingstringimage-rendering
langstring—
markerEndstringmarker-end
markerMidstringmarker-mid
markerStartstringmarker-start
maskstring—
opacitynumber—
paintOrderstringpaint-order
pointerEventsstringpointer-events
preservetuple[2] (identifier, identifier)preserveAspectRatio
requiredExtensionsstring—
requiredFeaturesstring—
sizetuple[2] (number, number)width
height
strokestring—
strokeDasharraystringstroke-dasharray
strokeDashoffsetnumberstroke-dashoffset
strokeLinecapstringstroke-linecap
strokeLinejoinstringstroke-linejoin
strokeMiterlimitnumberstroke-miterlimit
strokeOpacitynumberstroke-opacity
strokeWidthnumberstroke-width
stylestring—
systemLanguagestring—
tabIndexnumbertabindex
transformstring—
vectorEffectstringvector-effect
versionstring—
visibilitystring—
xmlBasestringxml:base
xmlLangstringxml:lang
xmlnsstring—
xmlnsXlinkstringxmlns:xlink
xmlSpacestringxml:space