1
0
mirror of https://github.com/s00500/ESPUI.git synced 2025-07-04 06:10:18 +00:00

Add remControl() method for remove contols

This commit is contained in:
ruslan.teliuk@aspose.com
2020-06-15 12:06:34 +03:00
committed by Lukas Bachschwell
parent 1b7af71d29
commit 81366af7f1
15 changed files with 726 additions and 1162 deletions

4
data/js/controls.js vendored
View File

@ -1,4 +1,5 @@
const UI_INITIAL_GUI = 200;
const UI_RELOAD = 201;
const UPDATE_OFFSET = 100;
const UI_TITEL = 0;
@ -241,6 +242,9 @@ function start() {
handleEvent(fauxEvent);
});
break;
case UI_RELOAD:
window.location.reload();
break;
case UI_TITEL:
document.title = data.label;