# html2imgfileplus
**Repository Path**: zhaiyuhan/html2imgfileplus
## Basic Information
- **Project Name**: html2imgfileplus
- **Description**: 用来将网页元素截屏成图片的Nb工具
- **Primary Language**: JavaScript
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 2
- **Forks**: 0
- **Created**: 2022-07-01
- **Last Updated**: 2023-06-24
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# html2imgfileplus
#### 介绍
用来将网页元素截屏成图片的Nb工具
gitee:[https://gitee.com/zhaiyuhan/html2imgfileplus](https://gitee.com/zhaiyuhan/html2imgfileplus)
#### 软件架构
没啥架构,就是好使
#### 安装教程
npm i html2imgfileplus -S
#### 使用说明
```
import html2imgfileplus from "html2imgfileplus";
//这个是vue的
//第一个参数,想截图的html元素实例
//第二个参数,一个返回了 图片流 和 图片地址的 obj
methods: {
screenShotDo(){
html2imgfileplus.doSm(this.$refs.imageTofile, obj=>{
console.log(obj)
});
}
}
```

#### 参与贡献
就我一个人写的