MCPcopy
hub / github.com/HelloZeroNet/ZeroNet / Menu

Function Menu

plugins/Sidebar/media/all.js:294–299  ·  view source on GitHub ↗
(button)

Source from the content-addressed store, hash-verified

292
293 Menu = (function() {
294 function Menu(button) {
295 this.button = button;
296 this.elem = $(".menu.template").clone().removeClass("template");
297 this.elem.appendTo("body");
298 this.items = [];
299 }
300
301 Menu.prototype.show = function() {
302 var button_pos, left;

Callers

nothing calls this directly

Calls 2

cloneMethod · 0.80
$Function · 0.50

Tested by

no test coverage detected