Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "usb-paint", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "A universal, simple, and beautiful hand-drawn style painting tool, USB-Paint. It can be introduced and used in any front-end framework or page.", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/goodlovess/USB-Paint.git", |
@@ -165,8 +165,9 @@ [English](./README_EN.md) | 简体中文 | ||
| 事件名 | 说明 | 返回数据 | | ||
| ------------- | ------------ | -------- | | ||
| exportToImage | 导出图片数据 | base64 | | ||
| eraserTool | 橡皮擦 | - | | ||
| freeDrawTool | 绘画 | - | | ||
| clearTool | 清除 | - | | ||
| 事件名 | 说明 | 返回数据 | | ||
| ------------- | ----------------------------------------------------------------------------- | -------- | | ||
| exportToImage | 导出图片数据 | base64 | | ||
| eraserTool | 橡皮擦 | - | | ||
| freeDrawTool | 绘画 | - | | ||
| clearTool | 清除 | - | | ||
| isPaint | 是否已经绘画了(clearTool后为未绘画状态,只要动过笔eraserTool后也是绘画了状态) | boolean | | ||
@@ -187,2 +188,4 @@ ## 事件调用案例 | ||
usbPaint.clearTool(); | ||
// 主动获取是否已经绘画了功能 | ||
usbPaint.isPaint(); | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
297757
190