paper-collapse-item | Vaadin

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 Bower version Travis state Published on webcomponents.org Published on Vaadin  Directory Stars on vaadin.com/directory

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.

Install

Link to this version
ImportedReleased 30 April 2018Apache License 2.0
Framework Support
Polymer 2.0+
Also supported:
Polymer 1 (4.0.5)
Browser Compatibility
Install with
Release notes - Version 2.3.1

Dependencies

Polymer/polymer#^2.0.0

  • PolymerElements/iron-icon#^2.0.0
  • PolymerElements/iron-icons#^2.0.0
  • PolymerElements/iron-collapse#^2.0.0
  • PolymerElements/paper-icon-button#^2.0.0
  • PolymerElements/paper-item#^2.0.0
  • PolymerElements/paper-styles#^2.0.0