fires before a control is shown
beforeShow: (value: string | number | boolean) => boolean | void;
Parameters:value: string | number | boolean
- the current value of the controlReturn false
to prevent a control from being shown; otherwise, true
.
Example
form.getItem("toggle").events.on("beforeShow", function(value) {
console.log("beforeShow", value);
return true;
});
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