focus
fires when a Toggle control has received focus
focus: (value: string | number | boolean) => void;
Parameters:
value: string | number | boolean
- the current value of the control
Example
form.getItem("toggle").events.on("focus", (value) => {
console.log("focus", value);
});