svg-builder
Version:
Simple, chainable SVG-building tool for NodeJS and the browser (with Browserify)
162 lines (161 loc) • 4.08 kB
JavaScript
module.exports = {
animationevent: [
'onbegin',
'onend',
'onload',
'onrepeat'
],
animationattributetarget: [
'attributeType',
'attributeName'
],
animationtiming: [
'begin',
'dur',
'end',
'min',
'max',
'restart',
'repeatCount',
'repeatDur',
'fill'
],
animationvalue: [
'calcMode',
'values',
'keyTimes',
'keySplines',
'from',
'to',
'by'
],
animationaddition: [
'additive',
'accumulate'
],
aria: [
'aria-activedescendant', 'aria-atomic', 'aria-autocomplete', 'aria-busy', 'aria-checked', 'aria-colcount', 'aria-colindex', 'aria-colspan', 'aria-controls', 'aria-current', 'aria-describedby', 'aria-details', 'aria-disabled', 'aria-dropeffect', 'aria-errormessage', 'aria-expanded', 'aria-flowto', 'aria-grabbed', 'aria-haspopup', 'aria-hidden', 'aria-invalid', 'aria-keyshortcuts', 'aria-label', 'aria-labelledby', 'aria-level', 'aria-live', 'aria-modal', 'aria-multiline', 'aria-multiselectable', 'aria-orientation', 'aria-owns', 'aria-placeholder', 'aria-posinset', 'aria-pressed', 'aria-readonly', 'aria-relevant', 'aria-required', 'aria-roledescription', 'aria-rowcount', 'aria-rowindex', 'aria-rowspan', 'aria-selected', 'aria-setsize', 'aria-sort', 'aria-valuemax', 'aria-valuemin', 'aria-valuenow', 'aria-valuetext', 'role'
],
conditionalprocessing: [
'requiredExtensions',
'requiredFeatures',
'systemLanguage'
],
core: [
'class',
'id',
'lang',
'style',
'tabindex',
'xml:base',
'xml:lang',
'xml:space'
],
documentevent: [
'onabort',
'onerror',
'onresize',
'onscroll',
'onunload',
'onzoom'
],
filterprimitive: [
'height',
'result',
'width',
'x',
'y'
],
graphicalevent: [
'onactivate',
'onclick',
'onfocusin',
'onfocusout',
'onload',
'onmousedown',
'onmousemove',
'onmouseout',
'onmouseover',
'onmouseup'
],
presentation: [
'alignment-baseline',
'baseline-shift',
'clip',
'clip-path',
'clip-rule',
'color',
'color-interpolation',
'color-interpolation-filters',
'color-profile',
'color-rendering',
'cursor',
'direction',
'display',
'dominant-baseline',
'enable-background',
'fill',
'fill-opacity',
'fill-rule',
'filter',
'flood-color',
'flood-opacity',
'font-family',
'font-size',
'font-size-adjust',
'font-stretch',
'font-style',
'font-variant',
'font-weight',
'glyph-orientation-horizontal',
'glyph-orientation-vertical',
'image-rendering',
'kerning',
'letter-spacing',
'lighting-color',
'marker-end',
'marker-mid',
'marker-start',
'mask',
'opacity',
'overflow',
'pointer-events',
'shape-rendering',
'stop-color',
'stop-opacity',
'stroke',
'stroke-dasharray',
'stroke-dashoffset',
'stroke-linecap',
'stroke-linejoin',
'stroke-miterlimit',
'stroke-opacity',
'stroke-width',
'text-anchor',
'text-decoration',
'text-rendering',
'unicode-bidi',
'visibility',
'word-spacing',
'writing-mode'
],
transferfunction: [
'type',
'tableValues',
'slope',
'intercept',
'amplitude',
'exponent',
'offset'
],
xlink: [
'xlink:href',
'xlink:type',
'xlink:role',
'xlink:arcrole',
'xlink:title',
'xlink:show',
'xlink:actuate'
]
};
;