Skip to content

How to observe only when element is in view, and not when it goes out of view? #6

@bitttttten

Description

@bitttttten

I would like just to track when the element comes into view, and keep the boolean true for the rest of the session duration. At the moment the library toggles back and forth. Is it possible to do it?

I dug into your options and the options in observe-element-in-viewport and I couldn't find anything 👀

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