UNPKG

fabric

Version:

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

7 lines 273 B
/** * wrapper for setting element's style * @param {HTMLElement} element an HTMLElement * @param {Object} styles to apply to element */ export declare function setStyle(element: HTMLElement, styles: Record<string, string>): void; //# sourceMappingURL=dom_style.d.ts.map