RadioButton.js
362 Bytes
import template from "./RadioButton.html";
class RadioButton {
props = {
value: String,
};
state = {
checked: false,
};
constructor(esRadioGroup) {
this.esRadioGroup = esRadioGroup.getContext()
$element.removeAttr("value");
}
handleClick(event) {
this.esRadioGroup.setValue(event);
}
}