npm install SavageDOM --save
bower install SavageDOM --save
The library is distributed as a single ES6 JavaScript file. This library has a runtime dependency on rxjs
and d3
(but only d3-color
and d3-interpolation
). The documentation can be found here, but due to TypeDoc's poor support for some advanced TypeScript features it is always good to revert to the definition file.
Core
Element<SVGElement, Attributes>
- The base class for all elements created by this libraryContext
- Stores the <svg>
context for element creationAttribute<T>
classNumber
, Dimension
, Point
, Color
Transform
, Color Matrix
Inherit
, Length
, Angle
, Paint
Presentation
, Textual
Elements - Includes everything in core and also features additional, common svg elements.
<circle>
, <ellipse>
, <line>
, <polygon>
, <polyline>
, <path>
, <rect>
, <image>
, <text>
, <g>
<linearGradient>
, <radialGradient>
, <pattern>
, <marker>
, <mask>
<filter>
) with primitives: <feBlend>
, <feColorMatrix>
, <feComponentTransfer>
, <feComposite>
, <feConvolveMatrix>
, <feDiffuseLighting>
, <feDisplacementMap>
, <feFlood>
, <feGaussianBlur>
, <feImage>
, <feMerge>
, <feMergeNode>
, <feMorphology>
, <feOffset>
, <feSpecularLighting>
, <feTile>
, <feTurbulence>
, <feFuncR>
, <feFuncG>
, <feFuncB>
, <feFuncA>
, <feDistantLight>
, <fePointLight>
, <feSpotLight>
Animation - Provides the functionality to animate attributes or set dynamic attributes.
MousePosition
)Generated using TypeDoc