@dooboostore/dom-render
Version:
html view template engine
11 lines • 430 B
JavaScript
import { Validator } from './Validator';
export class UnCheckedValidator extends Validator {
constructor(value, target, event, autoValid = true) {
super(value, target, event, autoValid);
}
valid() {
var _a, _b;
return !((_b = (_a = this.getTarget()) === null || _a === void 0 ? void 0 : _a.checked) !== null && _b !== void 0 ? _b : false);
}
}
//# sourceMappingURL=UnCheckedValidator.js.map