Add & Remove CSS Classes When Elements Is Sticky – ngx-sticky

Author: bikecoders
Publish Date:
Official Page: Go to website
Views Total: 41
License: MIT

Description:

ngx-sticky is an Angular direction to make any element stick to the top and add/remove certain CSS classes when the element gets stuck.

Based on CSS position:sticky property and Intersection Observer API.

Preview:

Add & Remove CSS Classes When Elements Is Sticky - ngx-sticky


Add Comment