@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
24 lines (23 loc) • 813 B
JavaScript
/*!
* KoliBri - The accessible HTML-Standard
*/
import { validateMaxLengthBehavior, validateMultiple } from "../../schema";
import { InputTextEmailController } from "../input-text/controller";
export class InputEmailController extends InputTextEmailController {
constructor(component, name, host) {
super(component, name, host);
this.component = component;
}
validateMultiple(value) {
validateMultiple(this.component, value);
}
validateMaxLengthBehavior(value) {
validateMaxLengthBehavior(this.component, value);
}
componentWillLoad() {
super.componentWillLoad();
this.validateMaxLengthBehavior(this.component._maxLengthBehavior);
this.validateMultiple(this.component._multiple);
}
}
//# sourceMappingURL=controller.js.map