@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
11 lines (10 loc) • 371 B
TypeScript
import { VueComponentBase } from "./../VueComponentBase";
export interface IValidator {
register: (component: VueComponentBase<any>) => void;
unregister(component: VueComponentBase<any>): void;
validateAll: (isAutoScroll?: boolean) => boolean;
clearValidation: () => void;
}
export interface IComponentValidationEnabled {
useValidator?: IValidator;
}