paper-collapse-item
A Material Design item with header and collapsible content (Polymer)
[ This description is mirrored from README.md at github.com/Collaborne/paper-collapse-item on 2019-05-22 ]
paper-collapse-item
paper-collapse-item
provides a Material Design item with header and collapsible content. The web component is built with Polymer.
To use this element:
npm install paper-collapse-item
<paper-collapse-item icon="icons:favorite" header="Item 1" opened>
Lots of very interesting content.
</paper-collapse-item>
Or You can use slot:
<paper-collapse-item icon="icons:favorite" opened>
<div slot="header">
Everything what you want in header.
</div>
Lots of very interesting content.
</paper-collapse-item>
Start demo:
polymer serve --module-resolution="node"
License
This software is licensed under the Apache 2 license, quoted below.
Copyright 2011-2018 Collaborne B.V. <http://github.com/Collaborne/>
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
Dependencies
- Released
- 2018-11-16
- Maturity
- IMPORTED
- License
- Other
Compatibility
- Framework
- Polymer 1.0+
- Polymer 2.0+ in 2.3.1
- Browser
- Browser Independent
paper-collapse-item - Vaadin Add-on Directory
A Material Design item with header and collapsible content (Polymer)
**[ This description is mirrored from README.md at [github.com/Collaborne/paper-collapse-item](https://github.com//Collaborne/paper-collapse-item/blob/v4.0.5/README.md) on 2019-05-22 ]**
paper-collapse-item [![Bower version](https://badge.fury.io/bo/paper-collapse-item.svg)](http://badge.fury.io/bo/paper-collapse-item) [![Travis state](https://travis-ci.org/Collaborne/paper-collapse-item.svg?branch=master)](https://travis-ci.org/Collaborne/paper-collapse-item) [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/Collaborne/paper-collapse-item) [![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/Collabornepaper-collapse-item)
[![Stars on vaadin.com/directory](https://img.shields.io/vaadin-directory/star/Collabornepaper-collapse-item.svg)](https://vaadin.com/directory/component/Collabornepaper-collapse-item)
=========
`paper-collapse-item` provides a Material Design [item with header and collapsible content](https://www.google.com/design/spec/components/lists.html). The web component is built with [Polymer](https://www.polymer-project.org).
To use this element:
`npm install paper-collapse-item`
```html
Lots of very interesting content.
```
Or You can use slot:
```html
```
Start demo:
```
polymer serve --module-resolution="node"
```
## License
This software is licensed under the Apache 2 license, quoted below.
Copyright 2011-2018 Collaborne B.V.
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.
Everything what you want in header.
Lots of very interesting content.