Methods
static
close(id) → {void}
Close a window by ID
Parameters
-
id
stringThe ID of the window to close.
Returns
-
void
Source
static
max(id) → {void}
Maximize a window by ID
Parameters
-
id
stringThe ID of the window to maximize.
Returns
-
void
Source
static
mini(id) → {void}
Minimize/Unminimise a window by ID
Parameters
-
id
stringThe ID of the window to minimize.
Returns
-
void
Source
static
notif(name, cont) → {void}
Send a notificaation
Parameters
-
name
stringThe name of the notification.
-
cont
stringThe content of the notification.
Returns
-
void
Source
static
wal(content, btn1, name, allowCloseopt) → {void}
Show an alert box
Parameters
-
content
stringThe content of the alert box.
-
btn1
functionThe function to run when the button is clicked.
-
name
stringThe name of the button.
-
allowClose
boolean<optional>
trueWhether the alert box can be closed.
Returns
-
void