-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/hairyf/vue3-pixi
- Loading branch information
Showing
5 changed files
with
431 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
import type { Container, DisplayObject, DisplayObjectEvents } from 'pixi.js' | ||
import type { Container, DisplayObject } from 'pixi.js' | ||
|
||
export type PixiEvents = DisplayObjectEvents & { | ||
// from container | ||
export interface PixiEvents { | ||
added: [container: Container] | ||
childAdded: [child: DisplayObject, container: Container, index: number] | ||
childRemoved: [child: DisplayObject, container: Container, index: number] | ||
destroyed: [] | ||
removed: [container: Container] | ||
} |
Oops, something went wrong.
b27a0da
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
vue3-pixi – ./
vue3-pixi-tuimao.vercel.app
vue3-pixi.vercel.app
vue3-pixi-git-main-tuimao.vercel.app