Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch loading errors #35

Open
maximilienGilet opened this issue Jul 26, 2018 · 1 comment
Open

Catch loading errors #35

maximilienGilet opened this issue Jul 26, 2018 · 1 comment

Comments

@maximilienGilet
Copy link

Hi, thanks for this awesome component !

How can I handle loading errors (eg: bad URL) ?

@wcandillon
Copy link
Owner

Hey thank you 🙋🏼‍♂️ There is no good mechanism for that at the moment. We use the img API to load the image and we should expose the img.onerror API. Would you like to propose a PR for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants