@robotlegsjs/createjs
Version:
CreateJS View Integration with RobotlegsJS
14 lines (13 loc) • 329 B
TypeScript
import { IClass } from "@robotlegsjs/core";
/**
* View handler contract
*/
export interface IViewHandler {
/**
* View handler method
*
* @param view The view instance to handle
* @param type The class of the view instance
*/
handleView(view: createjs.DisplayObject, type: IClass<any>): void;
}