549 B
549 B
title |
---|
Svg.defs |
The Svg.defs
property holds a string that will be rendered as the defs
section of the
SVG document.
Signature
<defs>
/* svg.defs will be inserted */
</defs>
Notes
The defs attribute is where plugins will add additional snippets.
When adding your own defs, it's important not to overwrite this property, but rather add your own.
In other words, do this:
svg.defs += myDefs
and don't do this:
svg.defs = myDefs