lbd-disclosure
A Web Component for creating accessible disclosures
Examples
General usage example:
<script type="module" src="lbd-disclosure.js"></script>
<lbd-disclosure>
<details>
<summary>More Information</summary>
Disclosure content goes here...
</details>
</lbd-disclosure>
Features
This Web Component allows you to:
Installation
You have a few options (choose one of these):
- Install via npm:
npm install @lunchbreakdev/lbd-disclosure - Download the source manually from GitHub into your project.
- Skip this step and use the script directly via a 3rd party CDN (not recommended for production use)