Skip to content

egoist/active-walker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

active-walker

for some header element, like:

<a href="#" class="nav active-walker" data-active-when=".section-1"></a>

ActiveWalker.watch('.active-walker')


And then if you scroll to the element specified in data-active-when it shall trigger .addClass function on .active-walker

About

Detect which DOM element you've reached.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published