Polymer 1.X and 2.X collapsible container
bower install --save polymer-collapsible-container
<collapsible-container header="Test Collapsible">
Content goes here
</collapsible-container>
<accordion-container>
<collapsible-container header="Test Accordion">
Content goes here
</collapsible-container>
<collapsible-container header="Test Accordion 2">
Content goes here
</collapsible-container>
<collapsible-container header="Test Accordion 3">
Content goes here
</collapsible-container>
</accordion-container>
First, make sure you have the Polymer CLI installed. Then run polymer serve
to serve element locally.
$ polymer serve
$ polymer test
Your application is already set up to be tested via web-component-tester. Run polymer test
to run your application's test suite locally.