UNPKG

@public-ui/components

Version:

Contains all web components that belong to KoliBri - The accessible HTML-Standard.

20 lines (19 loc) 609 B
/*! * KoliBri - The accessible HTML-Standard */ import { validateTouched } from "../../schema"; import { AssociatedInputController } from "./associated.controller"; export class ControlledInputController extends AssociatedInputController { constructor(component, name, host) { super(component, name, host); this.component = component; } validateTouched(value) { validateTouched(this.component, value); } componentWillLoad() { super.componentWillLoad(); this.validateTouched(this.component._touched); } } //# sourceMappingURL=controller.js.map