@dooboostore/dom-render
Version:
html view template engine
11 lines • 428 B
JavaScript
import { ValidatorArray } from './ValidatorArray';
export class AllCheckedValidatorArray extends ValidatorArray {
constructor(value, target, event, autoValid = true) {
super(value, target, event, autoValid);
}
valid() {
var _a;
return !(((_a = this.value) !== null && _a !== void 0 ? _a : []).filter(it => !it.checked).length > 0);
}
}
//# sourceMappingURL=AllCheckedValidatorArray.js.map