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

access file when file uploaded #535

Merged
merged 3 commits into from
Apr 27, 2017
Merged

access file when file uploaded #535

merged 3 commits into from
Apr 27, 2017

Conversation

ceau
Copy link
Contributor

@ceau ceau commented Apr 27, 2017

I need to access the file when uploaded. when assign the name, I can't access the file outside the uploader component

@mstaack
Copy link
Contributor

mstaack commented Apr 27, 2017

how about other cases like: 28eed8c#diff-683217980df7463f98151a63c673c7efL237

@rstoenescu rstoenescu merged commit c802592 into quasarframework:dev Apr 27, 2017
@rstoenescu
Copy link
Member

@mstaack good catch.
Added those changes too and merged.

@rstoenescu rstoenescu added this to the v0.14 milestone Apr 27, 2017
@rstoenescu
Copy link
Member

Also improved the other events too. Pushed commit. Available in future v0.14.

Event Description
@add(files) Triggered when file is picked for upload
@remove(file) Triggered when file is removed from upload queue
@upload(file, xhr) Triggered individually for each file that has just been uploaded
@fail(file, xhr) Triggered individually for each file that has encountered error while uploading
@start Triggered when upload has started
@finish Triggered when upload of file(s) has ended (with success or failure)

@ceau
Copy link
Contributor Author

ceau commented Apr 28, 2017

nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants