UNPKG

@rontian/egret-robotlegs

Version:

Egret View Integration with RobotlegsJS

39 lines (38 loc) 838 B
import { IClass, EventDispatcher } from "@robotlegsjs/core"; import { IViewHandler } from "../api/IViewHandler"; /** * @private */ export declare class ContainerBinding extends EventDispatcher { private _parent; /** * @private */ get parent(): ContainerBinding; /** * @private */ set parent(value: ContainerBinding); private _container; /** * @private */ get container(): egret.DisplayObjectContainer; private _handlers; /** * @private */ constructor(container: egret.DisplayObjectContainer); /** * @private */ addHandler(handler: IViewHandler): void; /** * @private */ removeHandler(handler: IViewHandler): void; /** * @private */ handleView(view: egret.DisplayObject, type: IClass<any>): void; }