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

Method install

src/sidebarApps/sidebarApp.js:53–60  ·  view source on GitHub ↗

* Installs the app in the sidebar. * @param {boolean} prepend * @returns {void}

(prepend = false)

Source from the content-addressed store, hash-verified

51 * @returns {void}
52 */
53 install(prepend = false) {
54 if (prepend) {
55 $apps.prepend(this.#icon);
56 return;
57 }
58
59 $apps.append(this.#icon);
60 }
61
62 /**
63 * Initialize the sidebar element.

Callers 3

addFunction · 0.95
installRuntimeServerFunction · 0.80

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected