fabric
Version:
Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.
3 lines (2 loc) • 299 B
JavaScript
import{objectSpread2 as r}from"../../_virtual/_rollupPluginBabelHelpers.min.mjs";const t=(t,a)=>{var e;const{transform:{target:o}}=a;null===(e=o.canvas)||void 0===e||e.fire("object:".concat(t),r(r({},a),{},{target:o})),o.fire(t,a)};export{t as fireEvent};
//# sourceMappingURL=fireEvent.min.mjs.map