UNPKG

fabric

Version:

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

3 lines (2 loc) 170 B
function t(t,e){const r=t.style;r&&Object.entries(e).forEach(t=>{let[e,n]=t;return r.setProperty(e,n)})}export{t as setStyle}; //# sourceMappingURL=dom_style.min.mjs.map