Sha256: 9547d67266539c189ca3910070ea486bf58c0723c681dbd292cdc701f833cdc2
Contents?: true
Size: 673 Bytes
Versions: 10
Compression:
Stored size: 673 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
10 entries across 10 versions & 1 rubygems