@aks-dev/easyui 1.0.47 → 1.0.48
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 +13 -5
- package/package.json +1 -1
- package/utils/index.ts +6 -2
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: shiguo
|
|
3
3
|
* @Date: 2022-04-25 17:57:29
|
|
4
4
|
* @LastEditors: shiguo
|
|
5
|
-
* @LastEditTime: 2022-05-30
|
|
5
|
+
* @LastEditTime: 2022-05-30 16:17:16
|
|
6
6
|
* @FilePath: /@aks-dev/easyui/README.md
|
|
7
7
|
-->
|
|
8
8
|
|
|
@@ -15,7 +15,7 @@ or
|
|
|
15
15
|
`$ yarn add @aks-dev/easyui`
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
###
|
|
18
|
+
### UI组件
|
|
19
19
|
|
|
20
20
|
+ Badge
|
|
21
21
|
+ EasyHub
|
|
@@ -30,11 +30,19 @@ or
|
|
|
30
30
|
+ WithLoadingContainer
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
###
|
|
33
|
+
### 工具包
|
|
34
|
+
|函数|作用|
|
|
35
|
+
|:----|:----|
|
|
36
|
+
|sleep|睡眠时间|
|
|
37
|
+
|keyboardDismissHandlers|通过手势关闭键盘|
|
|
38
|
+
|panHandlersCallback|手势动作回调|
|
|
39
|
+
|callTelephone|拨打电话|
|
|
40
|
+
|randomcolor|获取随机色|
|
|
41
|
+
|syncLoop|同步循环|
|
|
34
42
|
|
|
35
|
-
###
|
|
43
|
+
### jsbridge
|
|
36
44
|
|
|
37
45
|
|函数|作用|
|
|
38
|
-
|
|
46
|
+
|:----|:----|
|
|
39
47
|
|getAppVersion|获取App版本号|
|
|
40
48
|
|upgrade|app升级|
|
package/package.json
CHANGED
package/utils/index.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @Author: shiguo
|
|
3
3
|
* @Date: 2022-04-19 10:25:43
|
|
4
4
|
* @LastEditors: shiguo
|
|
5
|
-
* @LastEditTime: 2022-05-
|
|
6
|
-
* @FilePath: /@aks/easyui/utils/index.ts
|
|
5
|
+
* @LastEditTime: 2022-05-30 16:15:07
|
|
6
|
+
* @FilePath: /@aks-dev/easyui/utils/index.ts
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
|
|
@@ -17,6 +17,10 @@ import * as rn from 'react-native'
|
|
|
17
17
|
export declare const sleep: (msec?: number) => void;
|
|
18
18
|
|
|
19
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @description: 通过手势关闭键盘
|
|
22
|
+
* @return {*}
|
|
23
|
+
*/
|
|
20
24
|
export declare const keyboardDismissHandlers: rn.GestureResponderHandlers;
|
|
21
25
|
|
|
22
26
|
export type CallBack = (...args: any[]) => void;
|