@leafer/event 1.9.4 → 1.9.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafer/event",
3
- "version": "1.9.4",
3
+ "version": "1.9.6",
4
4
  "description": "@leafer/event",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -22,12 +22,12 @@
22
22
  "leaferjs"
23
23
  ],
24
24
  "dependencies": {
25
- "@leafer/decorator": "1.9.4",
26
- "@leafer/math": "1.9.4",
27
- "@leafer/data": "1.9.4",
28
- "@leafer/platform": "1.9.4"
25
+ "@leafer/decorator": "1.9.6",
26
+ "@leafer/math": "1.9.6",
27
+ "@leafer/data": "1.9.6",
28
+ "@leafer/platform": "1.9.6"
29
29
  },
30
30
  "devDependencies": {
31
- "@leafer/interface": "1.9.4"
31
+ "@leafer/interface": "1.9.6"
32
32
  }
33
33
  }
@@ -20,6 +20,8 @@ export class LeaferEvent extends Event implements ILeaferEvent {
20
20
 
21
21
  static END = 'leafer.end'
22
22
 
23
+ static UPDATE_MODE = 'leafer.update_mode'
24
+
23
25
  // 变换操作
24
26
  static TRANSFORM = 'leafer.transform'
25
27
  static MOVE = 'leafer.move'
package/types/index.d.ts CHANGED
@@ -121,6 +121,7 @@ declare class LeaferEvent extends Event implements ILeaferEvent {
121
121
  static STOP: string;
122
122
  static RESTART: string;
123
123
  static END: string;
124
+ static UPDATE_MODE: string;
124
125
  static TRANSFORM: string;
125
126
  static MOVE: string;
126
127
  static SCALE: string;