linjc / smooth-signature Goto Github PK
View Code? Open in Web Editor NEWH5带笔锋手写签名,支持PC端和移动端,任何前端框架均可使用
Home Page: https://linjc.github.io/smooth-signature/
License: MIT License
H5带笔锋手写签名,支持PC端和移动端,任何前端框架均可使用
Home Page: https://linjc.github.io/smooth-signature/
License: MIT License
在windows桌面设置缩放率为100%时,或者option.scale 为1时,会出现鼠标与笔迹不对应,偏移的问题。
建议addEventListener里加上{ passive: false }
可以把经过的坐标以JSON的形式暴露出来吗
按照示例在h5端配置了 但是没有效果 能否看一下demo的源码
added 3591 packages from 2206 contributors and audited 5898 packages in 238.834s
保存轨迹数据
绘制其他图形
轨迹回放
等都需要onmove回调保存轨迹节点进行实现
等大佬发布一个新版本 ~~
vue 中电脑上不能签名,但是用ipad 打开网页可以签名,。我用的pcDEMO
特意提一个lssues赞一个,真心不错,解决了我的燃眉之急,十分感谢
您好,我是采用纯html的方式去使用,这个smoothsignature的js使用<script> 的方式引入,好像不能new SmoothSignature的方式去创建这个canvas ,能帮我一下吗?如何在html上不使用vue去创建呢????
1.0.2版本中bgColor生效,但是删除了drawByImageUrl()方法,无法反显
1.0.15版本中bgColor设置之后没效果
经排查1.0.5->1.0.6这个版本出现了问题
请问,支持显示默认文字吗?就是没有写内容的时候会显示“在此签名”这种
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.