Collapse

less than 1 minute read

Documentation

Web Component

<script type="text/javascript" src="https://unpkg.com/gd-sprest-bs-wc/wc/dist/gd-sprest-bs.js"></script>
<bs-button target="#wcCollapseDemo" toggle="collapse" text="Collapse Demo"></bs-button>
<bs-collapse id="wcCollapseDemo" content="This is the content to be collapsed."></bs-collapse>