Categories
How to run a script in Vue.js after loading an image or video?
I have a script that calculates colors in a photo or video, but it throws errors because vue runs it before the image is loaded.
Answer the question
In order to leave comments, you need to log in
Just like without Vue - wait for loading:<img @load="doSomething" />
<img @load="doSomething" />
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question