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

Lazy-load images in history view #60

Closed
wants to merge 2 commits into from

Conversation

raucao
Copy link
Owner

@raucao raucao commented Jan 26, 2018

Use IntersectionObserver to observe image elements coming into the viewport, then set the background-image source URL from a pre-filled data attribute.

Use IntersectionObserver to observe image elements coming into the
viewport, then set the background-image source URL from a pre-filled
data attribute.
@@ -1,4 +1,4 @@
import { htmlSafe } from '@ember/string';
// import { htmlSafe } from '@ember/string';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you forgot to remove this line.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@raucao
Copy link
Owner Author

raucao commented Jan 26, 2018

Rebased and merged locally.

@raucao raucao closed this Jan 26, 2018
@raucao raucao deleted the feature/history_lazy_loading branch January 26, 2018 15:17
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