Comments (1)
How to implement batch processing on existing functions
The template data can be generated and then rendered during traversal to save the image.
可以生成模板数据,然后在遍历执行渲染保存图片。
const list = [{
name: 'a',
age: 12
},
{
name: 'b',
age: 13
}]
function getTempleteData(item){
return `....${item.name}.....${item.age}....`
}
list.forEach(item => {
const data = getTempleteData(item)
canvasEditor.insertSvgFile(state.jsonFile);
canvasEditor.saveImg()
})
from vue-fabric-editor.
Related Issues (20)
- 加柱状图 HOT 1
- vue3的渐变插件
- 建议加入真正的描边 HOT 3
- 案例收集 HOT 9
- 能加入橡皮擦的功能吗 HOT 1
- 高度差异大的元素,垂直平均分布不符合预期 HOT 1
- 生成的图片左侧和上边会有1像素的模糊半透明细线 HOT 2
- 移动端估计什么时候能出来啊 HOT 2
- 字号大小和文本框拖拽可以联动变化吗 HOT 1
- [bug] clone 后 npm install 运行项目,样式引入提示错误 HOT 5
- 如何正确启动项目 HOT 3
- 文本没有删除按钮哦 HOT 1
- 鬼
- history组件,回退和重做好像没有按照步骤正常加载。 HOT 2
- fabric.js 可以实现哪些功能? 动图介绍
- 使用网络字体体验感很差,使用本地字体有bug HOT 2
- 是否可以支持gif动图或视频? HOT 1
- 路由跳转报错 HOT 2
- 点击左右侧菜单时,画布的大小会恢复默认 HOT 2
- 移动端使用时,无法兼容 TouchEvent 事件 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-fabric-editor.