-
Notifications
You must be signed in to change notification settings - Fork 32
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
Get file extension from clipper-upload #37
Comments
Hi @Domynos , <clipper-upload $ref="upload" /> Then you can get the File object after either:
this.$ref.upload.file // get the File object |
I didn't know I could access to child component like that. Thank you, I learned something! I had to use : and access it by
Reference : https://vuejs.org/v2/guide/components-edge-cases.html#Accessing-Child-Component-Instances-amp-Child-Elements Thank you for the quick answer. |
You're right, that's a typo. |
Hello,
Is there a way to get the original filename from clipper-upload component ? As you bind v-model with window.URL.createObjectURL(this.file), i can't have access to original file extension, right ?
Thanks for the plugin by the way.
The text was updated successfully, but these errors were encountered: