We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now what we have to do if we want to show an image in case of error is this:
<script setup> const imgWidth = 40 </script> <template> <v-img src="https://path/to/my-image" :width="imgWidth" > <template #error> <v-img src="https://path/to/error-image" :width="imgWidth"></v-img> </template> </v-img> </template>
Which is quite some code.
It would be awesome to be able to do something like this:
<v-img src="https://path/to/my-imag" error-src="https://path/to/error-image" width="40" ></v-img>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem to solve
Right now what we have to do if we want to show an image in case of error is this:
Which is quite some code.
Proposed solution
It would be awesome to be able to do something like this:
The text was updated successfully, but these errors were encountered: