Directory

← Back

paper-drawer

A Material Design drawer

Author

Contributors

Rating

[ This description is mirrored from README.md at github.com/Collaborne/paper-drawer on 2019-05-22 ]

paper-drawer Bower version Travis state Published on webcomponents.org

paper-drawer provides components to build a material design drawer. The web component is built with Polymer.

The components are designed to be used in combination with paper-drawer-panel.

To use the elements:

bower install paper-drawer

<paper-drawer>
  <paper-drawer-title photo="demo/face.png" name="Jonathan Lee" email="heyfromjonathan@gmail.com"></paper-drawer-title>
  
  <paper-drawer-subheader>Items with icon</paper-drawer-subheader>
  <paper-drawer-icon-item icon="icons:mail">All mail</paper-drawer-icon-item>
  <paper-drawer-icon-item icon="icons:delete">Trash</paper-drawer-icon-item>
  <paper-drawer-icon-item icon="icons:error">Spam</paper-drawer-icon-item>
  
  <paper-drawer-divider></paper-drawer-divider>
  
  <paper-drawer-subheader>Items without icon</paper-drawer-subheader>
  <paper-drawer-item>All mail</paper-drawer-item>
  <paper-drawer-item>Trash</paper-drawer-item>
  <paper-drawer-item>Spam</paper-drawer-item>
</paper-drawer>

License

This software is licensed under the Apache 2 license, quoted below.

Copyright 2011-2015 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

(Loading compatibility data...)

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

Polymer/polymer#^2.0.0

  • PolymerElements/iron-icon#^2.0.0
  • PolymerElements/iron-icons#^2.0.0
  • PolymerElements/paper-item#^2.0.0
  • PolymerElements/paper-ripple#^2.0.0
  • PolymerElements/paper-styles#^2.0.0
Released
2017-07-17
Maturity
IMPORTED
License
Apache License 2.0

Compatibility

Framework
Polymer 2.0+
Polymer 1.0+ in 1.0.20
Browser
Browser Independent
Online