UNPKG

zan-poster

Version:

通过json在canvas上绘制图像, 基于cax画图框架开发, 本画图组件是json2canvas库的改造、优化版本 (详情查看README.md文档末说明)。

13 lines (10 loc) 833 B
import { b as bootstrapLazy } from './index-86f0f68f.js'; export { s as setNonce } from './index-86f0f68f.js'; import { g as globalScripts } from './app-globals-0f993ce5.js'; const defineCustomElements = async (win, options) => { if (typeof window === 'undefined') return undefined; await globalScripts(); return bootstrapLazy([["zan-poster",[[1,"zan-poster",{"painting":[16],"preload":[4],"showCanvas":[4,"show-canvas"],"showLoading":[4,"show-loading"],"isSave":[4,"is-save"],"base64":[4,"base-6-4"],"sync":[4],"canvasList":[32],"canvasId":[32],"canvas":[32],"isPainting":[32],"readying":[32],"syncPainting":[32],"imgUrl":[32],"success":[32],"fail":[32],"draw":[64]},null,{"painting":["watchPaintingHandler"],"sync":["watchSyncHandler"]}]]]], options); }; export { defineCustomElements }; //# sourceMappingURL=loader.js.map