UNPKG

@rontian/egret-robotlegs

Version:

Egret View Integration with RobotlegsJS

28 lines (27 loc) 754 B
/** * Configures a mediator mapping */ export interface IMediatorConfigurator { /** * Guards to check before allowing a mediator to be created * @param guards Guards * @return Self */ withGuards(...guards: any[]): IMediatorConfigurator; /** * Hooks to run before a mediator is created * @param hooks Hooks * @return Self */ withHooks(...hooks: any[]): IMediatorConfigurator; /** * Should the mediator be removed when the mediated item looses scope? * * <p>Usually this would be when the mediated item is a Display Object * and it leaves the stage.</p> * * @param value Boolean * @return Self */ autoRemove(value: boolean): IMediatorConfigurator; }