change
fires on changing the value of a control
change: (value: {[id: string]: string | number | boolean}) => void;
Parameters:
value: object
- the current value of the control. The object contains a set of key:value pairs where key is the id of a toggle and value is the value/state of the toggle.
Example
form.getItem("ToggleGroup").events.on("change", function(value) {
console.log("change", value);
});