@lynx-js/lynx-ui-common 3.137.0 → 3.139.0
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/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ScrollEndEvent, ScrollEvent, ScrollToLowerEvent, ScrollToUpperEvent } from '@lynx-js/types';
|
|
2
2
|
export interface BaseScrollEvents {
|
|
3
3
|
/**
|
|
4
4
|
* Being triggered when scrolling occurs.
|
|
@@ -16,7 +16,7 @@ export interface BaseScrollEvents {
|
|
|
16
16
|
* @Android
|
|
17
17
|
* @iOS
|
|
18
18
|
*/
|
|
19
|
-
onScrollEnd?: (e:
|
|
19
|
+
onScrollEnd?: (e: ScrollEndEvent) => void;
|
|
20
20
|
/**
|
|
21
21
|
* Being triggered when scrolling to upper.
|
|
22
22
|
* @zh 滚动到顶部时触发。
|
|
@@ -25,7 +25,7 @@ export interface BaseScrollEvents {
|
|
|
25
25
|
* @Android
|
|
26
26
|
* @iOS
|
|
27
27
|
*/
|
|
28
|
-
onScrollToUpper?: (e:
|
|
28
|
+
onScrollToUpper?: (e: ScrollToUpperEvent) => void;
|
|
29
29
|
/**
|
|
30
30
|
* Being triggered when scrolling to lower.
|
|
31
31
|
* @zh 滚动到底部时触发。
|
|
@@ -34,6 +34,6 @@ export interface BaseScrollEvents {
|
|
|
34
34
|
* @Android
|
|
35
35
|
* @iOS
|
|
36
36
|
*/
|
|
37
|
-
onScrollToLower?: (e:
|
|
37
|
+
onScrollToLower?: (e: ScrollToLowerEvent) => void;
|
|
38
38
|
}
|
|
39
39
|
//# sourceMappingURL=BaseScrollEvents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseScrollEvents.d.ts","sourceRoot":"","sources":["../../../src/types/interfaces/BaseScrollEvents.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,
|
|
1
|
+
{"version":3,"file":"BaseScrollEvents.d.ts","sourceRoot":"","sources":["../../../src/types/interfaces/BaseScrollEvents.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,cAAc,EACd,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,gBAAgB,CAAA;AAEvB,MAAM,WAAW,gBAAgB;IAC/B;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,WAAW,KAAK,IAAI,CAAA;IACnC;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,cAAc,KAAK,IAAI,CAAA;IACzC;;;;;;;OAOG;IACH,eAAe,CAAC,EAAE,CAAC,CAAC,EAAE,kBAAkB,KAAK,IAAI,CAAA;IACjD;;;;;;;OAOG;IACH,eAAe,CAAC,EAAE,CAAC,CAAC,EAAE,kBAAkB,KAAK,IAAI,CAAA;CAClD"}
|
package/package.json
CHANGED
|
@@ -3,8 +3,10 @@
|
|
|
3
3
|
// LICENSE file in the root directory of this source tree.
|
|
4
4
|
|
|
5
5
|
import type {
|
|
6
|
-
|
|
6
|
+
ScrollEndEvent,
|
|
7
7
|
ScrollEvent,
|
|
8
|
+
ScrollToLowerEvent,
|
|
9
|
+
ScrollToUpperEvent,
|
|
8
10
|
} from '@lynx-js/types'
|
|
9
11
|
|
|
10
12
|
export interface BaseScrollEvents {
|
|
@@ -24,7 +26,7 @@ export interface BaseScrollEvents {
|
|
|
24
26
|
* @Android
|
|
25
27
|
* @iOS
|
|
26
28
|
*/
|
|
27
|
-
onScrollEnd?: (e:
|
|
29
|
+
onScrollEnd?: (e: ScrollEndEvent) => void
|
|
28
30
|
/**
|
|
29
31
|
* Being triggered when scrolling to upper.
|
|
30
32
|
* @zh 滚动到顶部时触发。
|
|
@@ -33,7 +35,7 @@ export interface BaseScrollEvents {
|
|
|
33
35
|
* @Android
|
|
34
36
|
* @iOS
|
|
35
37
|
*/
|
|
36
|
-
onScrollToUpper?: (e:
|
|
38
|
+
onScrollToUpper?: (e: ScrollToUpperEvent) => void
|
|
37
39
|
/**
|
|
38
40
|
* Being triggered when scrolling to lower.
|
|
39
41
|
* @zh 滚动到底部时触发。
|
|
@@ -42,5 +44,5 @@ export interface BaseScrollEvents {
|
|
|
42
44
|
* @Android
|
|
43
45
|
* @iOS
|
|
44
46
|
*/
|
|
45
|
-
onScrollToLower?: (e:
|
|
47
|
+
onScrollToLower?: (e: ScrollToLowerEvent) => void
|
|
46
48
|
}
|