extend the default page
This commit is contained in:
parent
b1cceec7fc
commit
d71e9effd0
3 changed files with 123 additions and 114 deletions
18
scripts/pages/page.js
Normal file
18
scripts/pages/page.js
Normal 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();
|
||||
});
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue