afterShow
fires after a control or its checkbox is shown
afterShow: (value: {[id: string]: boolean | string}, id?: string) => void;
Parameters:
value: object
- the current value of the control. The object contains a set of key:value pairs where key is the id of a checkbox and value is the value/state of the checkbox.id?: string
- optional, the ID of the checkbox of the control
Example
form.getItem("CheckboxGroup").events.on("afterShow", function(value, id) {
console.log("afterShow", value, id);
});
Related sample: Form. Hide/Show control
Change log:
The **id** parameter was added in v8.0