2.0.0 • Published 6 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
openas default state of collapsible-content
observe
- if you need to handle dynamic content, add
observeattribute.
Properties
get open
set open
- value can be
trueorfalse
Events
collapsible-content-open
- you can read state from
event.detail
2.0.0
6 years ago