arsipa-active-link

1.0.1 • Public • Published

arsipa-active-link

Simple js script that adds "arsipa-active-link" class to the tag if the href attribute matches the current url

Usage

Npm page

npm -i arsipa-active-link

Add script

<script src="node_modules/arsipa-active-link/arsipa-active-page.js"></script>

Style

.arsipa-active-page { color: red; }

Preview

Пример активной ссылки 1 Пример активной ссылки 2

Package Sidebar

Install

npm i arsipa-active-link

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

37.6 kB

Total Files

8

Last publish

Collaborators

  • arsipa