Option to add a custom loader while CSV is being uploaded #73
-
I am using vue-csv-import in a project and really love it and appreciate the effort that went into building it! I was wondering about one thing though, how can i add a custom loader indication (some kind of spinner or animation) that is visible while the .csv file is being uploaded? Is there some data property that i could watch in the component where i use vue-csv-import? I think this would be helpful for users to understand that something is happening. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The object you pass as v-model, in the example |
Beta Was this translation helpful? Give feedback.
-
as of v4.1.2 you can pass an axios config object to vue-csv-submit via the config prop. you should be able to use onUploadProgress to get upload progress on submit. |
Beta Was this translation helpful? Give feedback.
as of v4.1.2 you can pass an axios config object to vue-csv-submit via the config prop. you should be able to use onUploadProgress to get upload progress on submit.