You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<nuxt-img /> and <nuxt-picture /> should expose in some way the underlying <img /> HTMLElement.
Why would I need this?
As pointed out here: Imgix blurhash issue, I'm displaying a blurhashed image on top of <nuxt-img />, and I need to un-show it either if the image has been loaded (i.e. it's already present because of cache) or after the onload event.
I've attached a ref to <nuxt-img /> and then I've searched for the <img /> element underneath to check image.complete attribute, but it feels a little bit clunky.
How can we handle this better?
baticodes, arlenpeiffer, GlitchDevX, createwithjames and ianjamiesonlord-sasapple, pego, DamianGlowala, baticodes, arlenpeiffer and 4 more