Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
.github/ | 23-Nov-2023 | - | 34 | 14 | ||
demo/ | 23-Nov-2023 | - | 281 | 211 | ||
test/ | 23-Nov-2023 | - | 1,210 | 936 | ||
.bower.json | D | 23-Nov-2023 | 2.1 KiB | 60 | 60 | |
.gitignore | D | 23-Nov-2023 | 17 | 2 | 1 | |
.travis.yml | D | 23-Nov-2023 | 784 | 25 | 24 | |
CONTRIBUTING.md | D | 23-Nov-2023 | 3.4 KiB | 78 | 39 | |
README.md | D | 23-Nov-2023 | 1.2 KiB | 39 | 34 | |
all-imports.html | D | 23-Nov-2023 | 605 | 13 | 2 | |
bower.json | D | 23-Nov-2023 | 1.8 KiB | 52 | 51 | |
hero.svg | D | 23-Nov-2023 | 752 | 20 | 18 | |
index.html | D | 23-Nov-2023 | 920 | 29 | 13 | |
paper-input-addon-behavior.html | D | 23-Nov-2023 | 1.4 KiB | 48 | 30 | |
paper-input-behavior.html | D | 23-Nov-2023 | 17.6 KiB | 570 | 492 | |
paper-input-char-counter.html | D | 23-Nov-2023 | 2.6 KiB | 100 | 58 | |
paper-input-container.html | D | 23-Nov-2023 | 19.9 KiB | 654 | 456 | |
paper-input-error.html | D | 23-Nov-2023 | 2.6 KiB | 95 | 56 | |
paper-input.html | D | 23-Nov-2023 | 6 KiB | 184 | 101 | |
paper-textarea.html | D | 23-Nov-2023 | 4 KiB | 146 | 100 |
README.md
1[![Build status](https://travis-ci.org/PolymerElements/paper-input.svg?branch=master)](https://travis-ci.org/PolymerElements/paper-input) 2[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://beta.webcomponents.org/element/PolymerElements/paper-input) 3 4## <paper-input> 5 6Material design: [Text fields](https://www.google.com/design/spec/components/text-fields.html) 7 8`<paper-input>` is a single-line text field with Material Design styling. 9 10<!--- 11``` 12<custom-element-demo> 13 <template> 14 <script src="../webcomponentsjs/webcomponents-lite.js"></script> 15 <link rel="import" href="paper-input.html"> 16 <link rel="import" href="../iron-icons/iron-icons.html"> 17 <style> 18 paper-input { 19 max-width: 400px; 20 margin: auto; 21 } 22 iron-icon, div[suffix] { 23 color: hsl(0, 0%, 50%); 24 margin-right: 12px; 25 } 26 </style> 27 <next-code-block></next-code-block> 28 </template> 29</custom-element-demo> 30``` 31--> 32```html 33<paper-input always-float-label label="Floating label"></paper-input> 34<paper-input label="username"> 35 <iron-icon icon="mail" prefix></iron-icon> 36 <div suffix>@email.com</div> 37</paper-input> 38``` 39