ng-error-message
Version:
Displays error messages when a form control is invalid avoiding the long list of tags for each error
18 lines (17 loc) • 409 B
TypeScript
import { NgErrorMessageLoader } from './ng-error-message.loader.service';
/**
* Service for serving the errors dictionary
*/
export declare class NgErrorMessageService {
private _loader;
/**
* Contains the dictionary of errors
*/
private _errors;
readonly errors: any;
constructor(_loader: NgErrorMessageLoader);
/**
* Loads the dictionary
*/
load(): void;
}