fires before a control is hidden
beforeHide: (value: string, init: boolean) => boolean | void;
Parameters:value: string
- the current value of the controlinit: boolean
- true, if the event is triggered on the control initialization; otherwise, falseReturn false
to prevent a control from being hidden; otherwise, true
.
Example
form.getItem("textarea").events.on("beforeHide", function(value, init) {
console.log("beforeHide", value, init);
return true;
});
Change log:
added in v7.0
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4