Skip to content

patoteGo/addactiveclass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

What is this?

Installation

npm i addactiveclass

then...

How to uses it


import { addactiveclass } from addactiveclass;

addactiveclass({
    arrayClass: 'navButtons' // the common class of all buttons,
    activeClass: 'active' // the class name to add to the selected
    index: 2 // the selected button hover or clicked
})

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published