collapsible-content

2.0.0 • Public • Published

Collapsible Content

Usage

<collapsible-content open>
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer rutrum, orci vestibulum ullamcorper
    ultricies.
</collapsible-content>

Demo

Attributes

open

  • setup open as default state of collapsible-content

observe

  • if you need to handle dynamic content, add observe attribute.

Properties

get open

set open

  • value can be true or false

Events

collapsible-content-open

  • you can read state from event.detail

Readme

Keywords

none

Package Sidebar

Install

npm i collapsible-content

Weekly Downloads

0

Version

2.0.0

License

ISC

Unpacked Size

6 kB

Total Files

6

Last publish

Collaborators

  • bultas