@yuheiy/animated-collapse-element
v0.0.2
Published
<animated-collapse> element makes it easy and simple to collapse wrapped elements with animation.
Downloads
1
Readme
<animated-collapse> element
<animated-collapse> element makes it easy and simple to collapse wrapped elements with animation.
This element is built with Web Components. It works only with browsers supporting Custom Elements and Shadow DOM.
Install
yarn add @yuheiy/animated-collapse-element
Usage
import AnimatedCollapse from '@yuheiy/animated-collapse-element'
customElements.define(AnimatedCollapse.is, AnimatedCollapse)
<animated-collapse>
<p>Place your content here!</p>
</animated-collapse>