Skip to content

bultas/collapsible-content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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