@yuheiy/animated-collapse-element

0.0.2 • Public • Published

<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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @yuheiy/animated-collapse-element

      Weekly Downloads

      2

      Version

      0.0.2

      License

      MIT

      Unpacked Size

      15.4 kB

      Total Files

      6

      Last publish

      Collaborators

      • yuheiy