ex-akt / contao-vanilla-accordion-bundle
Vanilla JS accordion
Installs: 150
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Type:contao-bundle
Requires
- php: ^7.4 || ^8.0
- contao/core-bundle: ^4.13 || ^5.1
Requires (Dev)
- bamarni/composer-bin-plugin: ^1.5
- contao/manager-plugin: ^2.0
- phpunit/phpunit: ^9.5
- symfony/phpunit-bridge: ^6.1
Conflicts
- contao/manager-plugin: <2.0 || >=3.0
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.