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

IntersectionObserver API not accepting specific element #35127

Open
ilanb1996 opened this issue Jul 5, 2021 · 1 comment
Open

IntersectionObserver API not accepting specific element #35127

ilanb1996 opened this issue Jul 5, 2021 · 1 comment

Comments

@ilanb1996
Copy link

Description

As we can see here in the proposed API, the IntersectionObsserver accepts options when created and accept a specific element to observe when we want to begin observe (which also decoupled from the initialization of the observer, but in the AMP observer API we cant specify which element we want to observe. i would like to be able to specify which element I want to observer because in my Ad component i have a "feed
" which allows for many ads to be shown and i want to be able to track them separately

Alternatives Considered

Maybe my request can be solved with the current available features but i couldnt find any data in the README,, if so i would appreciate if someone could point me to the relevant documentation.

Additional Context

No response

@stale
Copy link

stale bot commented Nov 13, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants