• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

.github/23-Nov-2023-3414

demo/23-Nov-2023-281211

test/23-Nov-2023-1,210936

.bower.jsonD23-Nov-20232.1 KiB6060

.gitignoreD23-Nov-202317 21

.travis.ymlD23-Nov-2023784 2524

CONTRIBUTING.mdD23-Nov-20233.4 KiB7839

README.mdD23-Nov-20231.2 KiB3934

all-imports.htmlD23-Nov-2023605 132

bower.jsonD23-Nov-20231.8 KiB5251

hero.svgD23-Nov-2023752 2018

index.htmlD23-Nov-2023920 2913

paper-input-addon-behavior.htmlD23-Nov-20231.4 KiB4830

paper-input-behavior.htmlD23-Nov-202317.6 KiB570492

paper-input-char-counter.htmlD23-Nov-20232.6 KiB10058

paper-input-container.htmlD23-Nov-202319.9 KiB654456

paper-input-error.htmlD23-Nov-20232.6 KiB9556

paper-input.htmlD23-Nov-20236 KiB184101

paper-textarea.htmlD23-Nov-20234 KiB146100

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