Accordion
Simple Accordion done in Vanilla JS
Dormant0 dependenciesScript tag
Facts
| Size | 0.8 KB minified, 0.4 KB gzipped (assets/js/accordion.js) |
|---|---|
| Dependencies | none |
| Last activity | 2018-05-01 (Dormant) |
| Stars | 11 on GitHub |
| Formats | classic script |
| Gates | G1 passed (no runtime dependencies); G2 passed (loads in a browser as it is); G3 passed (no compile-only entry points); G4 failed (open-source licence); G5 passed (not archived or deprecated). Smoke test on vmaster in headless Chromium, 2026-10-30 |
Load it
Pin the version. The hash is computed from the file jsDelivr serves, so a changed file fails to load instead of running.
<script src="https://cdn.jsdelivr.net/gh/pinceladasdaweb/accordion@master/assets/js/accordion.js"
integrity="sha384-OqYQJtETG4YjFUfucQEhaftsOPVHpyY4VzJ+yodREQUhBQMiTEJ9uM7DVzIvT8Dw" crossorigin="anonymous"></script>Advertisement
Related libraries
- Notus – Web Notifications Widget Yet another JavaScript pop-up notification library for the web.
- Speckle.js A JavaScript plugin that adds responsive, stylized speckles to any element; with no dependencies.
- Roar A zero-dependency, vanilla JavaScript alert/confirm replacement.
Entry 41 in the directory. Facts refreshed monthly; last run 2026-10-30.