Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ert78gb/ng-scroll-spy

Angular 4 directive that tracking the scrolling of the document and highligh the navigation link
https://github.com/ert78gb/ng-scroll-spy

Last synced: about 1 month ago
JSON representation

Angular 4 directive that tracking the scrolling of the document and highligh the navigation link

Awesome Lists containing this project

README

        

ng-scroll-spy directive
======================

This directive automatically and and remove .active css class to the link base on the document scroll position.
The directive use the href tag to find the corresponding HTML element. If the corresponding element close to the top of document that will be .active.

The navigation menu
```html

```

Somewhere in the content

```html

About


...

Contact


...

Other1

```