MCPcopy Create free account
hub / github.com/HelloZeroNet/ZeroNet / Infopanel

Function Infopanel

src/Ui/media/all.js:542–553  ·  view source on GitHub ↗
(elem)

Source from the content-addressed store, hash-verified

540
541 Infopanel = (function() {
542 function Infopanel(elem) {
543 this.elem = elem;
544 this.setAction = bind(this.setAction, this);
545 this.setClosedNum = bind(this.setClosedNum, this);
546 this.setTitle = bind(this.setTitle, this);
547 this.open = bind(this.open, this);
548 this.close = bind(this.close, this);
549 this.hide = bind(this.hide, this);
550 this.updateEvents = bind(this.updateEvents, this);
551 this.show = bind(this.show, this);
552 this.visible = false;
553 }
554
555 Infopanel.prototype.show = function(closed) {
556 if (closed == null) {

Callers

nothing calls this directly

Calls 1

bindFunction · 0.70

Tested by

no test coverage detected