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

Implement visibility listening through Intersection Observer API #11

Open
string-areeb opened this issue Dec 3, 2018 · 2 comments
Open

Comments

@string-areeb
Copy link

https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API

The Intersection Observer API provides a way to asynchronously observe changes in the intersection of a target element with an ancestor element or with a top-level document's viewport.

It is much more efficient and its polyfill is very simple for browsers which do not support it that its code is already in this library

@chrishurlburt
Copy link
Owner

@string-areeb I would happily merge any PR that implements this 😄

@string-areeb
Copy link
Author

Thanks. Will try to implement it in a few days

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

No branches or pull requests

2 participants