Collapsible

Example of interactice component - collapsible panel. This example presents usage of @Evt and @El decorators with DOM API.




<div class="collapsible">
<button class="collapsible__button">TOGGLE</button>
<section class="collapsible__panel" hidden="true">
Hello world!
</section>
</div>