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

Add native lazy-loading feature detection #19

Open
3 tasks
stephiescastle opened this issue Sep 22, 2021 · 0 comments
Open
3 tasks

Add native lazy-loading feature detection #19

stephiescastle opened this issue Sep 22, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@stephiescastle
Copy link
Member

Our Vue component uses feature detection for the loading attribute. It would be nice to have this same feature detection provided with explorer-1. This would also let loading="eager" do its thing (if lazy loading is natively supported).

  • add lazy loading feature detection script to /src/js/
  • update docs on how to use it
  • update html markup with lazy and eager examples
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant