johannschopplich / unlazy

🪧 Universal lazy loading library for placeholder images leveraging native browser APIs

Home Page:https://unlazy.byjohann.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error event

aloky opened this issue · comments

Describe the feature

How can you tell if there was an error while downloading?

Additional information

  • Would you be willing to help implement this feature?
  • Can you think of other implementations of this feature?

Final checks

What error do you expect to track down? Do you use a specific framework? Please elaborate. Thanks!

As of right now, unlazy will throw a warning if the image couldn't be rendered.

Sorry, but i cant find info, if image cant be show event, i use nuxt component.

example:

@error="(event: Error) => …"