afterHide
fires after a control or its toggle is hidden
afterHide: (value: {[id: string]: boolean | string | number}, id?: string, init?: boolean) => 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 controlinit?: boolean
- optional, true, if the event is triggered on the control initialization; otherwise, false
Example
form.getItem("ToggleGroup").events.on("afterHide", function(value, id, init) {
console.log("afterHide", value, id, init);
});