extend the default page

This commit is contained in:
buzz-lightsnack-2007 2024-04-16 18:30:47 +08:00
parent b1cceec7fc
commit d71e9effd0
3 changed files with 123 additions and 114 deletions

18
scripts/pages/page.js Normal file
View file

@ -0,0 +1,18 @@
/* page.js
Construct an internal page.
*/
import windowman from "/scripts/GUI/windowman.js";
export default class Page {
constructor () {
this.window = window;
this.window[`manager`] = new windowman();
(this.window[`manager`]) ? this.window.manager.sync() : false;
document.addEventListener("DOMContentLoaded", function () {
M.AutoInit();
});
}
};