UNPKG

@rontian/egret-robotlegs

Version:

Egret View Integration with RobotlegsJS

34 lines (33 loc) 979 B
import { Event } from "@robotlegsjs/core"; 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(): egret.DisplayObjectContainer; 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?: egret.DisplayObjectContainer, handler?: IViewHandler); /** * @inheritDoc */ clone(): ViewManagerEvent; }