afterShow
fires after a control or its toggle is shown
afterShow: (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 toggleid?: string
- optional, the ID of a toggle of the control
Example
form.getItem("ToggleGroup").events.on("afterShow", function(value, id) {
console.log("afterShow", value, id);
});