This is a material theme for v-accordion. It follows the material design guideline for expansion panels.
With v-accordion-material, you can also create expansion panels for angular material using v-accordion - (an accordion module for angularjs)
Run bower install v-accordion-material --save
Run npm i v-accordion-material
Run yarn add v-accordion-material
- Download the latest release of v-accordion-material
- Download v-accordion
Include the files for v-accordion
, and v-accordion-material
in your project
<link href="v-accordion.css" rel="stylesheet" />
<link href="v-accordion-material.css" rel="stylesheet" />
<script src="v-accordion.js"></script>
Follow the instructions for v-accordion to learn to use v-accordion
In order to use this theme, set v-accordion-material
as the class name of <v-accordion>
as shown below:
<v-accordion class="v-accordion-material">
...
</v-accordion>
According to the material design guidelines the header should contain a header and a summary. This can be implemented by using the md-title and md-summary components in the v-pane-header as shown below
<v-pane-header>
<div class="md-title">Title</div>
<div class="md-summary">The summary of the content</div>
</v-pane-header>