1.0.0 • Published 3 years ago
addactiveclass v1.0.0
What is this?
Installation
npm i addactiveclass
then...
How to uses it
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
})
1.0.0
3 years ago