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