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

feat: introduce onerror attribute #2

Merged
merged 1 commit into from
Apr 3, 2024
Merged

Conversation

enismustafaj
Copy link

Onerror attribute is used on the img tags as fallback, in case the original image is not found.

@enismustafaj
Copy link
Author

@swlkr anything on this?

@swlkr
Copy link
Owner

swlkr commented Apr 3, 2024

Oh I saw this, yes, missing so many html attrs, I really need to get releases happening automatically, this will show up in crates.io at some point, but you can always use main instead of your fork in the mean time.

Also for any missing attrs, you can use .attr("onerror", "") too

LGTM

@swlkr swlkr merged commit 72cb3ad into swlkr:main Apr 3, 2024
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

Successfully merging this pull request may close these issues.

2 participants