UNPKG

fabric

Version:

Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.

9 lines 366 B
/** * Parses "style" attribute, retuning an object with values * @static * @memberOf fabric * @param {SVGElement} element Element to parse * @return {Object} Objects with values parsed from style attribute of an element */ export declare function parseStyleAttribute(element: HTMLElement): Record<string, any>; //# sourceMappingURL=parseStyleAttribute.d.ts.map