ex-akt/contao-vanilla-accordion-bundle

Vanilla JS accordion

1.1 2023-12-05 14:51 UTC

This package is auto-updated.

Last update: 2024-11-05 16:42:06 UTC


README

Contao is an Open Source PHP Content Management System for people who want a professional website that is easy to maintain. Visit the [project website][1] for more information.

This Accordion bundle overrides the default accordion template to use native html tags summary and details.

A Vanilla JS Script is doing the magic, so no need for jQuery if you want to use the accordion.

How to use

By default the accordion templates get get overwritten. If you want to enble the magic of the vanilla accordion, enable the js_accordion template under your layout.