Open sangyoo91 opened 9 years ago
If I understand correctly what you are trying to do, you will need to upload the base64 string by using the method described here: #19. To bind it to a button you need to bind the function to a button via the click event. "click button.upload": -> #upload stuff
Does that make sense?
Referencing #19 made it work for me. Thank you :)
I have a file input that shows a preview by using . I also save the
dataURL
into a blob.How do I send this to the method when I click on another button to upload?
I do not want to upload the image directly to server on change input.