beforeHide
fires before a Container control is hidden
beforeHide: (init: boolean) => boolean | void;
Parameters:
init: boolean
- true, if the event is triggered on the control initialization; otherwise, false
Returns:
Return false
to prevent a control from being hidden; otherwise, true
.
Example
form.getItem("container").events.on("beforeHide", function(init) {
console.log("beforeHide", init);
return true;
});
Change log:
- The event was added in v7.2
- The value parameter was removed in v8.0