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

Function change

app/components/file-field.js:12–17  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

10 },
11
12 change(event) {
13 const input = event.target;
14 const { files } = input;
15 this.onChange({ files });
16 this.reset();
17 },
18
19 // Hackish way to reset file input when sender cancels file transfer,
20 // so if sender wants later to send the same file again,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected