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(useImage): new function #1460

Merged
merged 4 commits into from Jun 16, 2022
Merged

feat(useImage): new function #1460

merged 4 commits into from Jun 16, 2022

Conversation

luciorubeens
Copy link
Contributor

Description

Reactive load an image in the browser, you can wait the result to display it or show a fallback.

It uses the useAsyncState hook and Image object to return an async-state object.

What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

@antfu
Copy link
Member

antfu commented Jun 16, 2022

That's a very high-quality PR and I don't really have any suggestions to make. Thank you! Sorry I didn't see it earlier.

@antfu antfu merged commit f4b37a5 into vueuse:main Jun 16, 2022
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.

None yet

2 participants