ShopAI-Extension/scripts/pages/page.js
2024-04-27 22:49:03 +08:00

18 lines
No EOL
408 B
JavaScript

/* page.js
Construct an internal page.
*/
import windowman from "/scripts/GUI/builder/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();
});
}
};