Fold Button Example

A custom element to fold/unfold the element specified with the target attribute.

Source code

fold-button
second fold-button: Do unfold Do fold
third fold-button

first target
this element may fold

second target
this element may fold too

third target
Fork me on GitHub