lyb-pixi-js 1.8.8 → 1.8.9
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.
|
@@ -5,8 +5,8 @@ export { LibPixiDialog } from "./ui/LibPixiDialog";
|
|
|
5
5
|
interface IViewCtor {
|
|
6
6
|
new (...args: any[]): LibPixiBaseContainer;
|
|
7
7
|
}
|
|
8
|
-
/** @description
|
|
9
|
-
export declare class
|
|
8
|
+
/** @description 弹窗管理器 */
|
|
9
|
+
export declare class LibPixiDialogManager {
|
|
10
10
|
/** 视图表 */
|
|
11
11
|
private views;
|
|
12
12
|
/** 上一次方向 */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { LibPixiBaseContainer } from "./ui/LibPixiBaseContainer";
|
|
2
2
|
export { LibPixiDialog } from "./ui/LibPixiDialog";
|
|
3
|
-
/** @description
|
|
4
|
-
export class
|
|
3
|
+
/** @description 弹窗管理器 */
|
|
4
|
+
export class LibPixiDialogManager {
|
|
5
5
|
constructor(parent) {
|
|
6
6
|
/** 视图表 */
|
|
7
7
|
this.views = {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Container } from "pixi.js";
|
|
2
|
-
/** @description
|
|
2
|
+
/** @description 基础容器,所有弹窗或页面都基于此视图来管理视图生命周期 */
|
|
3
3
|
export declare class LibPixiBaseContainer extends Container {
|
|
4
4
|
/** 调用 GameDialogManager.close 时调用 */
|
|
5
5
|
beforeUnmount?: (destroy: () => void) => void;
|