@lark-project/js-sdk 2.0.0-alpha.0 → 2.0.0-alpha.1
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/dist/es/index.js +1 -1
- package/dist/lib/index.js +1 -1
- package/dist/types/index.d.ts +6 -6
- package/package.json +1 -1
package/dist/es/index.js
CHANGED
package/dist/lib/index.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -948,12 +948,12 @@ declare abstract class ActionSheet extends BaseModel {
|
|
|
948
948
|
/**
|
|
949
949
|
* 打开操作菜单
|
|
950
950
|
* @param options
|
|
951
|
-
* @
|
|
951
|
+
* @param callback
|
|
952
952
|
* tapIndex 用户点击的菜单位置
|
|
953
953
|
*/
|
|
954
|
-
abstract show(options: ActionSheetOptions
|
|
954
|
+
abstract show(options: ActionSheetOptions, callback: (result: {
|
|
955
955
|
tapIndex: number;
|
|
956
|
-
}
|
|
956
|
+
}) => void): void;
|
|
957
957
|
}
|
|
958
958
|
|
|
959
959
|
/**
|
|
@@ -1002,14 +1002,14 @@ declare abstract class Modal extends BaseModel {
|
|
|
1002
1002
|
/**
|
|
1003
1003
|
* 打开模态框
|
|
1004
1004
|
* @param options
|
|
1005
|
-
* @
|
|
1005
|
+
* @param callback
|
|
1006
1006
|
* confirmed 点击了确认
|
|
1007
1007
|
* conceled 点击了取消
|
|
1008
1008
|
*/
|
|
1009
|
-
abstract show(options: string | ModalOptions
|
|
1009
|
+
abstract show(options: string | ModalOptions, callback: (result: {
|
|
1010
1010
|
confirmed: boolean;
|
|
1011
1011
|
canceled: boolean;
|
|
1012
|
-
}
|
|
1012
|
+
}) => void): void;
|
|
1013
1013
|
}
|
|
1014
1014
|
|
|
1015
1015
|
/**
|