Choices/src/scripts/src/components/wrapped-input.js

32 lines
560 B
JavaScript
Raw Normal View History

import WrappedElement from './wrapped-element';
export default class WrappedInput extends WrappedElement {
constructor(instance, element, classNames) {
super(instance, element, classNames);
this.parentInstance = instance;
this.element = element;
this.classNames = classNames;
}
conceal() {
super.conceal();
}
reveal() {
super.reveal();
}
2017-10-18 09:43:56 +02:00
enable() {
super.enable();
}
disable() {
super.enable();
}
setValue(value) {
this.element.setAttribute('value', value);
this.element.value = value;
}
}