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
- Host: GitHub
- URL: https://github.com/kcreate/md-dropdown
- Owner: KCreate
- Created: 2015-11-02T12:09:05.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-02T22:17:35.000Z (over 10 years ago)
- Last Synced: 2025-03-29T11:52:51.580Z (12 months ago)
- Language: HTML
- Size: 930 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/)

__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.