【文件属性】:
文件名称:image-editor:使用画布缩放,旋转,裁剪和处理图像
文件大小:21KB
文件格式:ZIP
更新时间:2021-05-12 06:40:21
JavaScript
图像编辑器
演示版
用法
使用画布缩放,旋转,裁剪和处理图像
执行
加载脚本
[removed][removed]
实例化
var imageEditorInstance = new ImageEditor({
elt: (DOM Element),
... optional settings ...
});
选项(对象)
埃尔特
输入文件,画布和按钮的容器
强制的
类型: DOM Element
输入
输入文件元素
可选的
默认值: elt.querySelector('input[type=file]')
类型: DOM Element
帆布
画布元素
可选的
默认值: elt.querySelector('canvas')
类型: DOM Element
btLeft
逆时针旋转的按钮元
【文件预览】:
image-editor-master
----index.html(6KB)
----src()
--------imageEditor.coffee(9KB)
----gulpfile.js(472B)
----LICENSE(1KB)
----README.md(5KB)
----libs()
--------normalize.css(8KB)
--------foundation.min.css(54KB)
----dist()
--------imageEditor.min.js(7KB)
--------imageEditor.js(11KB)
----.gitignore(29B)
----package.json(139B)