Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jifalops/iron-collapse-button
A simple polymer element that wraps an iron-collapse with a trigger section.
https://github.com/jifalops/iron-collapse-button
iron-collapse webcomponents
Last synced: 2 months ago
JSON representation
A simple polymer element that wraps an iron-collapse with a trigger section.
- Host: GitHub
- URL: https://github.com/jifalops/iron-collapse-button
- Owner: jifalops
- License: mit
- Created: 2016-10-01T03:39:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-31T03:38:49.000Z (over 6 years ago)
- Last Synced: 2024-04-04T11:01:34.631Z (10 months ago)
- Topics: iron-collapse, webcomponents
- Language: HTML
- Size: 2.5 MB
- Stars: 3
- Watchers: 3
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/jifalopsiron-collapse-button)
[![Stars on vaadin.com/directory](https://img.shields.io/vaadin-directory/star/jifalopsiron-collapse-button.svg)](https://vaadin.com/directory/component/jifalopsiron-collapse-button)
[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/jifalops/iron-collapse-button)# iron-collapse-button
An iron-collapse with a trigger section and optional expand/collapse icons.## Installation
```
bower i -S iron-collapse-button # Polymer 2.0 class based
bower i -S iron-collapse-button#^0.4 # Polymer 2.0 hybrid (1.x compatible)
```## Usage
Show/hide collapsible content by filling the trigger and content slots.## Demo
```html
Trigger
- Do this
- or that
Flexbox trigger
- or this
- not that
```
Full demo:
[webcomponents.org](https://www.webcomponents.org/element/jifalops/iron-collapse-button/demo/demo/index.html)
| [github](https://jifalops.github.io/iron-collapse-button/components/iron-collapse-button/demo/).API: [webcomponents.org](https://www.webcomponents.org/element/jifalops/iron-collapse-button/iron-collapse-button)
## Contributing
1. Fork it on Github.
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request## License
[MIT](https://opensource.org/licenses/MIT)