0.2.6 • Published 8 years ago

@custom-element/expansion-panel v0.2.6

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

Expansion Panel

Material Design Spec. Expansion panels contain creation flows and allow lightweight editing of an element.

Installation

Just add the following script(< 2kb gzipped/polyfill in it) to your website. It will add CSS only once if required.

For npm users

$ npm install @custom-element/app-bar

import '@custom-element/app-bar'; // import and use it

Example

  <an-expansion-panel>
    <div class="title">
      <h1>Trip name</h1>
      <div>Carribean Cruise</div>
    </div>
    <div class="text">
      Text: 14sp Left and right padding: 16dp Top padding: 16dp or 24dp (when a primary title is present) Bottom padding: 16dp (if there are additional actions or supporting text) or 24dp (if there are no actions or supporting text)
    </div>
  </an-expansion-panel>
0.2.6

8 years ago

0.2.5

8 years ago

0.2.4

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago