Vuetify: [Feature Requestt] Add error slot to v-img

Created on 16 Aug 2018  路  3Comments  路  Source: vuetifyjs/vuetify

Problem to solve

v-progress-circular keeps on loading the loader when v-img src getting failed.
v-progress-circular should dismiss either success or error

Proposed solution

success slot - dismissing loader (Works fine)
error slot - will replace placeholder for error message or whatever

VImg enhancement

Most helpful comment

This is a feature request, not a bug report. The current solution is to do something like this https://codepen.io/anon/pen/dqwyGz?editors=1010

All 3 comments

If this is a bug report, please use the appropriate template and provide reproduction of the issue.

@nekosaur
https://codepen.io/ksankumar/pen/VBJWYM

Switch correct_imgSrc to wrong_imgSrc and watch. Now progress circular not getting dismissed.

This is a feature request, not a bug report. The current solution is to do something like this https://codepen.io/anon/pen/dqwyGz?editors=1010

Was this page helpful?
0 / 5 - 0 ratings