vnode2canvas
vnode2canvas copied to clipboard
Rendering virtual DOM into canvas based on Vue plugin
我留意这各方向已经很久了,但是这么多年了,一直没有发现有人做出一个可以大体替代html标签和css的canvas前端框架,我也不知道为啥。
你好,打扰一下,目前按照example里写的,可以绘制出图片和文字,但是如果有文字要覆盖在图片上面的地方要怎么办? style里用zIndex好像也没有用,请问有无解决方案? 感谢
大佬,两个img上下叠起来, 发现,大图背景加载慢,结果发现总是覆盖在小图上面,另外, style支持哪些呀,有文档嘛
`mpvue` 也是可以转成`vnode`的,可以考虑在`dom`层`canvas`上做一层API适配,支持小程序的`canvas`。
Later, we can consider setting up canvas animation through CSS.
The canvas element hierarchy can be set like the CSS attribute `z-index`
I hope to add CSS style parsing in the next version.🙂🙂 eg. ```css .text { padding: 10px; margin: 20px; } .view { display: flex; align-items: center; } ```