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

Allow for responsive handling of in-view-options by allowing expressions #129

Open
doelgonzo opened this issue Aug 30, 2017 · 0 comments
Open

Comments

@doelgonzo
Copy link

For a responsive site, we have a sticky header bar that changes height at smaller resolutions. I've been able to make angular-inview work for the majority of the usecase scenarios, but when the height changes, I need to adjust the viewportOffset to a different value at a smaller breakpoint. So, the question is why in-view-options doesn't allow an expression? I could then detect the responsive threshold change and change this offset value.

Thoughts or alternative suggestion?

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

1 participant