MCPcopy Create free account
hub / github.com/ShareDropio/sharedrop / didInsertElement

Function didInsertElement

app/components/peer-avatar.js:48–54  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

46 },
47
48 didInsertElement(...args) {
49 this._super(args);
50 const { peer } = this;
51
52 peer.on('didReceiveFile', this.toggleTransferCompletedClass);
53 peer.on('didSendFile', this.toggleTransferCompletedClass);
54 },
55
56 willDestroyElement(...args) {
57 this._super(args);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected