UNPKG

@robotlegsjs/pixi

Version:
37 lines (36 loc) 988 B
import { Event } from "@robotlegsjs/core"; import { Container } from "pixi.js"; import { IViewHandler } from "../api/IViewHandler"; /** * Container existence event * * @private */ export declare class ViewManagerEvent extends Event { static CONTAINER_ADD: string; static CONTAINER_REMOVE: string; static HANDLER_ADD: string; static HANDLER_REMOVE: string; private _container; /** * The container associated with this event */ get container(): Container; private _handler; /** * The view handler associated with this event */ get handler(): IViewHandler; /** * Creates a view manager event * * @param type The event type * @param container The container associated with this event * @param handler The view handler associated with this event */ constructor(type: string, container?: Container, handler?: IViewHandler); /** * @inheritDoc */ clone(): ViewManagerEvent; }