focus
fires when a Button control has received focus
focus: (text: string) => void;
Parameters:
text: string
- the current value of the control
Example
form.getItem("button").events.on("focus", (text) => {
console.log("focus", text);
});
Change log:
Added in v7.2