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

Call onload if passed as prop #42

Merged
merged 1 commit into from
Nov 28, 2016
Merged

Conversation

danieldunderfelt
Copy link
Contributor

I was running an animation when the image loaded, and your otherwise great fit-image component didn't call my onLoad callback. This PR calls onLoad if passed as a prop. The same thing could also be extended to onLoadEnd.

Thanks!

@originerd originerd merged commit 5833e8a into huiseoul:master Nov 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants