particle-canvas-pro 1.2.0 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -93,6 +93,8 @@ particleSystem.start();
|
|
|
93
93
|
| canvasSize | 画布尺寸(非背景模式) | `[number, number]` | - | [800, 600] |
|
|
94
94
|
| trailValue | 轨迹效果强度 | `number` | 0-1 | 0.2 |
|
|
95
95
|
|
|
96
|
+
<br>
|
|
97
|
+
|
|
96
98
|
# 实例方法
|
|
97
99
|
|
|
98
100
|
| 方法名 | 说明 |
|
|
@@ -102,6 +104,8 @@ particleSystem.start();
|
|
|
102
104
|
| reset() | 重置粒子位置和状态,重新启动动画 |
|
|
103
105
|
| destroy() | 销毁粒子动画,移除画布元素 |
|
|
104
106
|
|
|
107
|
+
<br>
|
|
108
|
+
|
|
105
109
|
# 构建配置
|
|
106
110
|
### 该粒子动画库支持多种模块格式:
|
|
107
111
|
|
package/package.json
CHANGED