1.0.4 • Published 8 years ago

nav-state v1.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

nav-state

Highlight an element based on a state.

Examples

<a class="js-nav-state" href="/">
	Home
</a>
<li>
	<a class="js-nav-state" href="/">
		Home
	</a>
</li>
<div class="js-nav-state" data-nav-state-href="/">
	Home
</div>
<link rel="up" href="/pages/foo">
<link rel="up" href="/pages/foo-bar">

<a class="js-nav-state" href="/pages/foo">
	Foo
</a>

<a class="js-nav-state" href="/pages/foo-bar">
	Foo bar
</a>
1.0.4

8 years ago

1.0.3

8 years ago