Skip to content

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

Description

@doelgonzo

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions