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

Function willDestroyElement

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

Source from the content-addressed store, hash-verified

54 },
55
56 willDestroyElement(...args) {
57 this._super(args);
58 const { peer } = this;
59
60 peer.off('didReceiveFile', this.toggleTransferCompletedClass);
61 peer.off('didSendFile', this.toggleTransferCompletedClass);
62 },
63
64 // Delegate click to hidden file field in peer template
65 click() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected