-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
Description
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.