Sha256: ceb679ff3bd3fb8e300f9f5fca67efbf789d92d49ee370479bfc7829b735ca81
Contents?: true
Size: 681 Bytes
Versions: 2
Compression:
Stored size: 681 Bytes
Contents
import { generateHeaderLinks } from "./linkButtonGenerator.mjs"; import handleSidebar from "./sidebar.mjs"; import handleSearch from "./search.mjs"; import autoExpandDropdowns from "./dropdownExpander.mjs"; import Settings from "./Settings.mjs"; // After loading elements, images, css, etc. addEventListener("load", () => { generateHeaderLinks(document.querySelector("main")); handleSearch(); // Expand dropdowns on print, etc. autoExpandDropdowns(); }); // After loading elements, but before loading elements like images. addEventListener("DOMContentLoaded", () => { handleSidebar(); // Apply user-specified settings Settings.applySettings(); });
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hematite-0.0.10 | assets/js/main.mjs |
hematite-0.0.9 | assets/js/main.mjs |