ferngully-aurelia-tools
Version:
Ferngully Tools for Aurelia
15 lines (14 loc) • 707 B
TypeScript
import { ValidationRenderer, RenderInstruction } from "aurelia-validation";
import { IEventAggregator } from "../../interfaces/IEventAggregator";
export declare class ValidationEventAggregator implements ValidationRenderer, IValidationMessageAggregator {
private instanceErrors;
constructor();
render(instruction: RenderInstruction): void;
groupInstanceErrors(renderInstruction: any): void;
private _notify(instances);
readonly invalidInstances: Array<any>;
}
export interface IValidationMessageAggregator extends ValidationRenderer {
invalidInstances: Array<any>;
}
export declare type IValidationEventAggregator = IValidationMessageAggregator & IEventAggregator;