@rontian/egret-robotlegs
Version:
Egret View Integration with RobotlegsJS
13 lines (12 loc) • 319 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: egret.DisplayObject, type: IClass<any>): void;
}