Skip to content
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

Add possibility to define custom handler after successful upload #4

Open
donarus opened this issue Feb 12, 2017 · 2 comments
Open

Add possibility to define custom handler after successful upload #4

donarus opened this issue Feb 12, 2017 · 2 comments

Comments

@donarus
Copy link
Contributor

donarus commented Feb 12, 2017

It would be great to add custom handler for 2xx response, when upload was successfull

usage:

<XHRUploader ... onSuccess={...} ... />

@harunhasdal
Copy link
Owner

@donarus that's a good idea. Would you like to submit a PR? Otherwise it'll need to wait a bit.

@donarus
Copy link
Contributor Author

donarus commented Feb 13, 2017

Hi, I think my current knowledge of React and JavaScripts is too low (haven't seen JS for > 5 years, I'm not the "frontend GUI" :-) ), but I'll give it a try this week if I'll find some time.

donarus added a commit to donarus/react-xhr-uploader that referenced this issue Feb 16, 2017
@donarus donarus mentioned this issue Jul 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants