Closed Smip closed 5 years ago
I added ability to use own handle function.
I use this feature for upload images to server.
modules = { imageDrop: { handler: this.upload.bind(this) } }; upload(file, callback){ const fb = new FormData(); fb.append('file', file, file.name); this.filesService.addFile(fb).subscribe(event => { callback(event['response']); }); }
Can u generate a rc with this ??? I really need it :D
@ariefurtado Sorry, what do you mean by rc?
@kensnyder Any reason this hasn't been merged? It'd really help me at the moment
@Nolence I'm closing this PR in favor of a slightly different one. See PR #22. Please review and let me know if it will work for you before I merge it.
I added ability to use own handle function.
I use this feature for upload images to server.