DCSOlympus/manager/javascripts/managerpage.js
2023-12-22 18:44:31 +01:00

24 lines
451 B
JavaScript

class ManagerPage {
element;
options;
constructor(options) {
this.options = options ?? {};
this.element = document.createElement('div');
this.element.classList.add("manager-page", "hide");
}
getElement() {
return this.element;
}
show() {
this.element.classList.remove("hide");
}
hide() {
this.element.classList.add("hide");
}
}
module.exports = ManagerPage;