MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / init

Function init

src/sidebarApps/index.js:74–83  ·  view source on GitHub ↗

* Initialize sidebar apps * @param {HTMLElement} $el

($el)

Source from the content-addressed store, hash-verified

72 * @param {HTMLElement} $el
73 */
74function init($el) {
75 $sidebar = $el;
76 $apps = $sidebar.get(".app-icons-container");
77 $apps.addEventListener("click", onclick);
78 SidebarApp.init($el, $apps);
79 appSettings.on(
80 "update:showSponsorSidebarApp",
81 setSponsorSidebarAppVisibility,
82 );
83}
84
85/**
86 * Loads all sidebar apps.

Callers

nothing calls this directly

Calls 3

getMethod · 0.45
initMethod · 0.45
onMethod · 0.45

Tested by

no test coverage detected