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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.12latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.12
1.0.00

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