MCPcopy Create free account
hub / github.com/SnapDrop/snapdrop / constructor

Method constructor

client/scripts/ui.js:92–96  ·  view source on GitHub ↗
(peer)

Source from the content-addressed store, hash-verified

90 }
91
92 constructor(peer) {
93 this._peer = peer;
94 this._initDom();
95 this._bindListeners(this.$el);
96 }
97
98 _initDom() {
99 const el = document.createElement('x-peer');

Callers

nothing calls this directly

Calls 2

_initDomMethod · 0.95
_bindListenersMethod · 0.95

Tested by

no test coverage detected