ng-bootstrap-form-generator
Version:
Angular 2 + Bootstrap 4 Form Generator. Library provides Angular components that help quickly generate Bootstrap Form from JavaScript object. Component supports validators, help messages, and error messages.
12 lines (11 loc) • 389 B
TypeScript
import { BsfControl } from './bsf.control';
export interface ValidationMessageFn {
(error: any, control?: BsfControl): string;
}
export declare class ValidationMessage {
static DEFAULT: {
required: (error: any, c: BsfControl) => string;
minlength: (error: any, c: BsfControl) => string;
maxlength: (error: any, c: BsfControl) => string;
};
}