Skip to content
This repository was archived by the owner on Jan 24, 2020. It is now read-only.

Commit a7ca0ab

Browse files
author
Avaer Kazmer
committed
Add minimize/restore events handling
1 parent 35580a9 commit a7ca0ab

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,6 +1114,12 @@
11141114
window.addEventListener('blur', e => {
11151115
uiIframe.setAlwaysOnTop(false);
11161116
});
1117+
window.addEventListener('restore', e => {
1118+
uiIframe.show();
1119+
});
1120+
window.addEventListener('minimize', e => {
1121+
uiIframe.hide();
1122+
});
11171123

11181124
// events
11191125

0 commit comments

Comments
 (0)