bikecoders / ngx-sticky

Angular directive that adds sticky position to an HTML element and also applies and remove a custom class when the element is sticky positioned.
https://bikecoders.github.io/ngx-sticky/
10 stars 3 forks source link

Allow set a custom value to rootMargin property on the IntersectionObserver #1

Open yossely opened 5 years ago

yossely commented 5 years ago

Parametrize the IntersectionObserver's parameter rootMargin.