UNPKG

svg-engine

Version:
15 lines 561 B
import { SVGInstance } from "../../../browser/instance/SVGInstance.js"; export class VectorEffect extends SVGInstance { vectorEffect(vectorEffect) { if (typeof vectorEffect === "undefined") { const vectorEffect = this.attr("vector-effect"); return typeof vectorEffect === "string" ? vectorEffect : null; } else if (typeof vectorEffect === "string") { this.attr("vector-effect", vectorEffect); return this; } return null; } } //# sourceMappingURL=vectorEffect.js.map