摘要:
下面图片案例文件下载地址:https://files.cnblogs.com/files/liangziaha/photoCut.zip github地址:cropper.js github案例:cropper.js 下载文件之后你就知道怎么使用了 效果图 阅读全文
摘要:
capture(调用设备媒体): capture 属性:在webapp上使用 input 的 file 属性,指定 capture 属性可以调用系统默认相机、摄像和录音功能。 capture表示,可以捕获到系统默认设备的媒体信息,如下: capture="camera" 相机 capture="ca 阅读全文
摘要:
<input type="file" accept="image/png,image/gif" id="upImg" onchange="updateImg(event,'upImg')"> function updateImg(event, id) { var formData = new For 阅读全文