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

Target specific element instead on window #12

Open
RitzBrio opened this issue Sep 29, 2018 · 1 comment
Open

Target specific element instead on window #12

RitzBrio opened this issue Sep 29, 2018 · 1 comment

Comments

@RitzBrio
Copy link

Hi!

Is there a way to target a container div instead of the window?

Thanks!

@edoparearyee
Copy link

Hi @RitzBrio at the moment it doesn't, however the angular-inviewport directive that this library uses to detect the inviewport status does.

So it maybe possible with an update to simply pass a reference to a parent element to the inviewport directive.

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