在项目中为了更方便地生成报告的html页面,开发了一个可视化生成html的工具。可通过拖动相应组件到预览框中,自动生成html代码
html界面、drag.js中实现拖拽函数、预览及下载html代码
- 监听 dragstart 事件,判断拖动块的类型
- 监听 drop 事件,不同模块拖入时添加相应代码模板
- 对于 text 文本模块来说,通过ueditor模块来编辑文字格式
- 取到容器中的代码
- 添加 html 的头部及尾部
This project forked from hanxiao-github/htmleditor
html可视化在线报告编辑器
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.