514 B
514 B
title |
---|
style |
A string that will be rendered as the style section of the SVG document.
The style attribute is where plugins will add additional snippets.
<style type="text/css">
/* svg.style will be inserted */
</style>
Add, but don't overwrite
When adding your own styles, it's important not to overwrite this property, but rather add your own.
In other words, do this:
svg.style += myStyles;
and don't do this:
svg.style = myStyles;