@robotlegsjs/createjs
Version:
CreateJS View Integration with RobotlegsJS
36 lines (35 loc) • 969 B
TypeScript
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(): createjs.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?: createjs.Container, handler?: IViewHandler);
/**
* @inheritDoc
*/
clone(): ViewManagerEvent;
}