2.0.0 • Published 4 years ago
collapsible-content v2.0.0
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
orfalse
Events
collapsible-content-open
- you can read state from
event.detail
2.0.0
4 years ago