Skip to content

inView lifecycle method #6443

Closed
Closed
@aantusahaa

Description

@aantusahaa

Is your feature request related to a problem? Please describe.
Not really a problem. Rather a convenience thing.

Describe the solution you'd like
A method namely inView() that will run whenever the component came into the viewport. It could use IntersectionObserver behind the scene.

Describe alternatives you've considered
Currently, I can use an component around the component I want to listen to.

How important is this feature to you?
For me, it will be a welcoming feature. Whatever projects I do more often than not it involves some use of IntersectionObserver.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions