Skip to content
Makes it easy and simple to collapse wrapped elements with animation.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.nojekyll
LICENSE
README.md
animated-collapse-element.js
index.html
package.json

README.md

<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>

See for details

You can’t perform that action at this time.