Skip to content

An Angularjs attribute directive that matches the href / ngHref of an element and comparing it to the current url. It adds the 'active' class or whatever class to that element upon match. A function can run upon success match also.

Notifications You must be signed in to change notification settings

lonormaly/match-url

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

match-url

An Angularjs attribute directive that matches the href / ngHref of an element and comparing it to the current url. It adds the 'active' class or whatever class to that element upon match. A function can run upon success match also.

About

An Angularjs attribute directive that matches the href / ngHref of an element and comparing it to the current url. It adds the 'active' class or whatever class to that element upon match. A function can run upon success match also.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published