UNPKG

@dooboostore/dom-render

Version:
11 lines 430 B
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