mirror of
https://github.com/HugoAura/Seewo-HugoAura.git
synced 2026-06-23 00:54:30 +08:00
24 lines
682 B
JavaScript
Executable File
24 lines
682 B
JavaScript
Executable File
(() => {
|
|
const pathBase = "../../aura/ui/pages/configSubPages/preferences/settings";
|
|
|
|
const {
|
|
settingsRenderer,
|
|
} = require("../../aura/ui/composables/settingsRenderer");
|
|
const { auraSettings } = require(`${pathBase}/aura`);
|
|
|
|
const initAuraSubPage = () => {
|
|
const auraSettingsSubPageEl = document.getElementById("aura-subpage");
|
|
settingsRenderer(auraSettingsSubPageEl, auraSettings);
|
|
};
|
|
const onMounted = () => {
|
|
initAuraSubPage();
|
|
|
|
const rootEl = document.getElementById("acs-preferences-root-el");
|
|
setTimeout(() => {
|
|
rootEl.classList.remove("acs-preferences-root-hidden");
|
|
}, 500);
|
|
};
|
|
|
|
onMounted();
|
|
})();
|