dyscreenshot
v1.0.4
Published
dyscreenshot ===========
Downloads
24
Readme
dyscreenshot
web前端截图工具。借鉴了kscreenshot
npm:
npm install dyscreenshot --save
功能
该截图工具带有下载,复制功能,并可用工具栏对截图进行简单绘制。
工具栏功能从左到右依次为:颜色,文字,椭圆,矩形,线条,箭头,后退,完成。
使用
import dyscreenshot from 'dyscreenshot'
//65指键盘中的A
new dyscreenshot(
{
key: 65
}
)
当按下shift + A将会触发截图功能