@dooboostore/dom-render
Version:
html view template engine
11 lines • 431 B
JavaScript
import { ValidatorArray } from './ValidatorArray';
export class ValidValidatorArray extends ValidatorArray {
constructor(validCallBack, value, target, event, autoValid = true) {
super(value, target, event, autoValid);
this.validCallBack = validCallBack;
}
valid() {
return this.validCallBack(this.value, this.getTarget(), this.getEvent());
}
}
//# sourceMappingURL=ValidValidatorArray.js.map