【文件属性】:
文件名称:dom_copy_image
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-06 18:24:12
JavaScript
安装
npm install --save dom-copy-image
用法
<!DOCTYPE html >
< html >
< head >
< title > dom copy! </ title >
</ head >
< body >
< button > Copy Image </ button >
< button id =" make-thumb " > Make thumbnail </ button >
< p> p>
< script >
var copyImage = require ( 'dom-copy-image' ) ,
path = require ( 'path' ) ;
document . querySelector ( 'button' ) .
【文件预览】:
dom_copy_image-master
----copyimage.js(3KB)
----README.md(2KB)
----.gitignore(45B)
----package.json(535B)