keytops-game-framework 1.0.21 → 1.0.23
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/app/module/view/IView.d.ts +1 -0
- package/dist/index.js +1730 -1728
- package/dist/view/CCPViewLoader.d.ts +1 -2
- package/dist/view/View.d.ts +1 -0
- package/package.json +1 -1
|
@@ -57,9 +57,8 @@ export type CCPViewConfig = {
|
|
|
57
57
|
export declare function viewClass(data: CCPViewConfig): any;
|
|
58
58
|
/**
|
|
59
59
|
* 注册closeTouch默认遮罩视图
|
|
60
|
-
* @param data 视图配置
|
|
61
60
|
*/
|
|
62
|
-
export declare function maskView(
|
|
61
|
+
export declare function maskView(): any;
|
|
63
62
|
/**
|
|
64
63
|
* cocos 默认视图加载器(Prefab)
|
|
65
64
|
*/
|
package/dist/view/View.d.ts
CHANGED
|
@@ -137,6 +137,7 @@ export declare class View extends cc.Component implements IView {
|
|
|
137
137
|
* @param closeEventParams 视图close事件的参数
|
|
138
138
|
*/
|
|
139
139
|
close(...closeEventParams: any[]): void;
|
|
140
|
+
onClose(caller: any, listener: (...args: any[]) => void, once?: boolean, ...args: any[]): void;
|
|
140
141
|
/**
|
|
141
142
|
* 从父级移除视图
|
|
142
143
|
* @param destroy 是否销毁,默认为true
|