svg-builder
Version:
Simple, chainable SVG-building tool for NodeJS and the browser (with Browserify)
70 lines (67 loc) • 1.13 kB
JavaScript
module.exports = {
animation: [
'animate',
'animatecolor',
'animatemotion',
'animatetransform',
'discard',
'mapath',
'set'
],
basicshapes: [
'circle',
'ellipse',
'line',
'polygon',
'polyline',
'rect'
],
container: [
'a',
'defs',
'glyph',
'g',
'marker',
'mask',
'missing-glyph',
'pattern',
'svg',
'switch',
'symbol'
],
descriptive: [
'desc',
'metadata',
'title'
],
paint: [
'linearGradient',
'radialGradient',
'pattern'
],
structural: [
'defs',
'g',
'svg',
'symbol',
'use'
],
textcontent: [
'altglyph',
'altglyphdef',
'altglyphitem',
'glyph',
'glyphref',
'text',
'textpath',
'tref',
'tspan'
],
textcontentchild: [
'altglyph',
'textpath',
'tref',
'tspan'
]
};
;