An open API service indexing awesome lists of open source software.

https://github.com/kcreate/md-dropdown

Polymer 1.0 Element
https://github.com/kcreate/md-dropdown

Last synced: 3 months ago
JSON representation

Polymer 1.0 Element

Awesome Lists containing this project

README

          

## <md-dropdown>
A Polymer element to hide sections of content

-[_DEMO_](http://leonardschuetz.ch/storage/stuff/polymer/md-dropdown/)
![md-dropdown preview](preview.jpg)

__Usage:__
```

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Rem quas error ducimus, veniam, optio voluptatibus nostrum eum distinctio consequuntur adipisci.

```
Set the title of the card in the _heading_ property. The other content goes in between the tags.
```

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Rem quas error ducimus, veniam, optio voluptatibus nostrum eum distinctio consequuntur adipisci.

```
The element is closed by default, if you want it to be already open at the beginning, set the _open_ property
```

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Rem quas error ducimus, veniam, optio voluptatibus nostrum eum distinctio consequuntur adipisci.

```
The element has _8px of margin_ by default on the top and bottom. Remove this margin by adding a _nomargin_ property.