mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
24 lines
451 B
JavaScript
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; |