-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onStart parameter #36
Comments
That would be a fine enhancement. Can you provide an example of what you might do |
An example of what I might use onStart for (assuming a few things): I'd resize the images in the browser. |
Created PR #72 |
Gist of how I'm using this to scale an image before uploading: https://gist.github.com/eagsalazar/83d5b222715f7267a4c0e02ec20b3c55 I import scaleImageFile and set param onBeforeUpload=scaleImageFile |
Hi @eagsalazar , Can I use this property to change the name of the file? Can you please provide an example of how do I use this property, please Tal |
It would be useful if there were an
onStart
oronWaiting
parameter where you can run a function before uploading starts, rather than checking the status inside ofonProgress
. What do you think?Thanks!
The text was updated successfully, but these errors were encountered: