lyb-pixi-js 1.10.7 → 1.10.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.
- package/Components/Custom/LibPixiPuzzleBg.d.ts +7 -0
- package/Components/Custom/LibPixiPuzzleBg.js +45 -0
- package/Components/Custom/LibPixiScrollContainerX.d.ts +1 -1
- package/Components/Custom/LibPixiScrollContainerX.js +1 -1
- package/Components/Custom/LibPixiScrollContainerY.d.ts +1 -1
- package/Components/Custom/LibPixiScrollContainerY.js +1 -1
- package/Utils/LibContainerCenter.d.ts +3 -0
- package/Utils/LibContainerCenter.js +10 -0
- package/Utils/LibPixiHVCenter.d.ts +7 -0
- package/Utils/LibPixiHVCenter.js +14 -0
- package/Utils/{LibArrangeLinear.d.ts → LibPixiHVGap.d.ts} +1 -2
- package/Utils/{LibArrangeLinear.js → LibPixiHVGap.js} +2 -5
- package/libPixiJs.d.ts +20 -0
- package/libPixiJs.js +23 -0
- package/lyb-pixi.js +3075 -618
- package/package.json +1 -1
- package/Utils/LibEmitContainerEvent.d.ts +0 -7
- package/Utils/LibEmitContainerEvent.js +0 -13
package/package.json
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/** @description 触发后代监听
|
|
2
|
-
* @param container 容器
|
|
3
|
-
* @param event 事件名称
|
|
4
|
-
* @param payload 事件携带数据
|
|
5
|
-
*/
|
|
6
|
-
export const LibEmitContainerEvent = (container, event, payload) => {
|
|
7
|
-
container.children.forEach((child) => {
|
|
8
|
-
child.emit(event, payload);
|
|
9
|
-
if ("children" in child) {
|
|
10
|
-
LibEmitContainerEvent(child, event, payload);
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
};
|