1.0.3 • Published 5 years ago

@barebones/accordion v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Accordion Web Component

Install

npm install @barebones/accordion --save

Use

<accordion-menu>
	<accordion-panel open>
		<p>Answer <em>One</em> should be open by default</p>
	</accordion-panel>

	<accordion-panel aria-label="Question Two, disabled" disabled>
		What the What?
	</accordion-panel>

	<accordion-panel aria-label="Awesome Third Questions">
		<p>
			Hello there Mr. or Ms. Human.
		</p>
	</accordion-panel>
</accordion-menu>
1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago