two.js
two.js copied to clipboard
Check if the image is loaded on the svg board
I am loading an image inside the SVG board through file form selector. When I upload a bigger image, it takes time to load on the SVG board even though I have a URL of the image. Is there is a way to detect if the image is loaded on the SVG board?
Sorry for the delay on this. Unfortunately, there isn't a way to know this currently through the API. But, you could load the image before interpreting and then it would be in cache once interpreted. If you don't mind putting a demo online, I can track this and try to elaborate via the example.