Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
ay-accordion
Advanced tools
A mobile friendly, web component based jank free accordion
npm install ay-accordion
<!-- As a script tag -->
<script src="node_modules/ay-accordion/dist/index.js"></script>
<ay-accordion-root multiple>
<ay-accordion open>
<ay-accordion-header>Panel 1 (Click to open)</ay-accordion-header>
<div>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
</ay-accordion>
</ay-accordion-root>
This web component wraps the entire accordion, as well as any content below the accordion that needs to be pushed down when accordion sections open and close.
multiple
: This attribute allows multiple accordion sections to be open at
the same time (default is only a single section expanded at a time).TThis web component manages a single expanding/collapsing accordion section, including the title content shown when it is collapsed.
open
: This attribute will make the section expanded by default.
disabled
: This attribute will disable the open/close ability of the
accordion. The accordion will still maintain its original state open/close.
This web component wraps the title of the accordion section, and attaches the event handlers to expand the section when clicked.
Contributions of bug reports, feature requests, and pull requests are greatly appreciated!
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Released under the MIT Licence.
Copyright © 2020 Ayogo Health Inc.
This project would not have happened without the knowledge and support of Ada Rose Cannon, in particular the following posts:
FAQs
ayAccordion ===========
The npm package ay-accordion receives a total of 39 weekly downloads. As such, ay-accordion popularity was classified as not popular.
We found that ay-accordion demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.