homework-accordion
v1.1.1
Published
accordion for learn npm
Downloads
8
Maintainers
Readme
Accordion
Install
npm i homework-accordion
using
<div class="wrapper"></div>
const wrapper = document.querySelector(".wrapper");
let items = ["salom", "hello", "namaste"];
collapse(wrapper, items);