1 2 3 4 5 6 7 8 9 10 11
import {makeInstance} from './helpers.js' import * as Classes from './classes.js' import * as tools from './tools.js' // The main wrapping element export default function SVG (element) { return makeInstance(element) } Object.assign(SVG, Classes) Object.assign(SVG, tools)