@leafer-ui/event 1.12.2 → 1.12.4
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 +3 -3
- package/src/MoveEvent.ts +3 -0
- package/types/index.d.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leafer-ui/event",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.4",
|
|
4
4
|
"description": "@leafer-ui/event",
|
|
5
5
|
"author": "Chao (Leafer) Wan",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"leaferjs"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@leafer/core": "1.12.
|
|
25
|
+
"@leafer/core": "1.12.4"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@leafer/interface": "1.12.
|
|
28
|
+
"@leafer/interface": "1.12.4"
|
|
29
29
|
}
|
|
30
30
|
}
|
package/src/MoveEvent.ts
CHANGED
|
@@ -13,5 +13,8 @@ export class MoveEvent extends DragEvent implements IMoveEvent {
|
|
|
13
13
|
static DRAG_ANIMATE = 'move.drag_animate'
|
|
14
14
|
static END = 'move.end'
|
|
15
15
|
|
|
16
|
+
static PULL_DOWN = 'move.pull_down'
|
|
17
|
+
static REACH_BOTTOM = 'move.reach_bottom'
|
|
18
|
+
|
|
16
19
|
readonly moveType: 'drag' | 'move'
|
|
17
20
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -109,6 +109,8 @@ declare class MoveEvent extends DragEvent implements IMoveEvent {
|
|
|
109
109
|
static MOVE: string;
|
|
110
110
|
static DRAG_ANIMATE: string;
|
|
111
111
|
static END: string;
|
|
112
|
+
static PULL_DOWN: string;
|
|
113
|
+
static REACH_BOTTOM: string;
|
|
112
114
|
readonly moveType: 'drag' | 'move';
|
|
113
115
|
}
|
|
114
116
|
|