inline @load @loading @error events
See original GitHub issueHow can we use add these event listener per inline item?
for example
<img v-for="(item, index) in items" v-lazy="https://example.com/photo.jpg" @loading="onLoading(index)"/>
We specifically want to pass the index to the callback.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Solved: Getting error while loading the inline table in ta...
When I trying to load the inline table i am facing the attached error. 2 days back the qv application was working properly....
Read more >Inline loading - Carbon Design System
The error loading state indicates that the action did not successfully complete. If an error occurs, the inline loading component becomes inactive and...
Read more >Resource loading: onload and onerror
The load and error events also work for other resources, basically for any resource that has an external src . For example:.
Read more >Cannot use inline 'onload' because of CSP · Issue #312 - GitHub
When you have a CSP without unsafe-inline , you cannot use onload inline. This it will throw an error, and therefore not load...
Read more >Refused to execute inline event handler because it violates ...
If this wasn't a Chrome extension, you could add 'unsafe-inline' to the list of acceptable places to load scripts from, but you should...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
it should be implemented in the lazyImage component, but not yet
@hilongjw is the implementation from @WisdomSky PR worthy? It would be nice to get the events.
@WisdomSky thanks for the work, I’ll use your fork for now.