API Reference - HMI.WebBrowser.hide
HMI.WebBrowser.hide
Event triggered when focus is not on WebPortal.
Example
1
2
3
4
5
6
7
8
9
10
try {
// HMI.WebBrowser
if ((typeof HMI !== "undefined") && (typeof HMI.WebBrowser !== "undefined") && (typeof HMI.WebBrowser.addEventListener !== "undefined")) {
HMI.WebBrowser.addEventListener("hide", function(){
alert("The Browser has been hidden");
});
}
} catch(e) {
DealWithHMIWebBrowserError(e);
}
Appeared in Software version 30.11.04.10