kukrik/qcubed-accordion
Composer 安装命令:
composer require kukrik/qcubed-accordion
包简介
QCubed-4 plugin for Accordion component
关键字:
README 文档
README
Accordion for QCubed-4
The Accordion plugin is a lightweight wrapper around the excellent Accordion JavaScript library by Michal Sajnóg, allowing developers to integrate a modern, dependency-free accordion component into QCubed-4 applications.
Unlike many existing QCubed plugins, this component demonstrates that QCubed-4 can seamlessly integrate modern Vanilla JavaScript libraries, without relying on jQuery.
The plugin focuses only on rendering, state management and QCubed integration, while leaving all business logic and content generation to the developer.
Features
- Wrapper around the Accordion Vanilla JavaScript library
- No jQuery dependency
- Remembers the active panel between Ajax requests
- Supports dynamic content generated by QCubed controls
- Lightweight and reusable
- Compatible with PHP 8.3+
Credits
This plugin uses the open source Accordion library created by Michal Sajnóg.
GitHub: https://github.com/michu2k/Accordion
Documentation & examples: https://michu2k.github.io/Accordion/
Requirements
- PHP 8.3 or newer
- QCubed-4
Installation
This plugin is installed via Composer:
composer require kukrik/qcubed-accordion
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-30
