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
Just a little examplo of something that would be really cool to have;
<img v-lazy="img" @error="errorHandler" />
The text was updated successfully, but these errors were encountered:
@eugenioclrc Hi, This feature has been supported in 1.0.5
Vue.use(VueLazyload, { dispatchEvent: true })
Sorry, something went wrong.
Great! Is there a reason for having the distpachEvent prop in false by default?
I was hacking a litle bit my code;
mounted() { this.$Lazyload.$on('error', (evt) => { this.$nextTick(() => { this.errorLoadingMyImage = evt.el === this.$refs.myImage; }); }); },
With the event my code will be cleaner, thanks and greate work!
At present, this feature's demand is relatively low frequency, I would like to default to false will be better.
No branches or pull requests
Just a little examplo of something that would be really cool to have;
<img v-lazy="img" @error="errorHandler" />
The text was updated successfully, but these errors were encountered: