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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lyb-pixi-js",
3
- "version": "1.10.7",
3
+ "version": "1.10.9",
4
4
  "description": "自用Pixi.JS方法库",
5
5
  "license": "ISC",
6
6
  "exports": {
@@ -1,7 +0,0 @@
1
- import { Container } from "pixi.js";
2
- /** @description 触发后代监听
3
- * @param container 容器
4
- * @param event 事件名称
5
- * @param payload 事件携带数据
6
- */
7
- export declare const LibEmitContainerEvent: (container: Container, event: string, payload?: any) => void;
@@ -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
- };