4 <meta name=
"viewport" content=
"width=device-width, initial-scale=1, user-scalable=no">
5 <title>paper-input
</title>
6 <script src=
"../platform/platform.js"></script>
7 <link href=
"../font-roboto/roboto.html" rel=
"import">
8 <link href=
"paper-input.html" rel=
"import">
13 -webkit-transform: translateZ(
0);
14 transform: translateZ(
0);
17 font-family: RobotoDraft, 'Helvetica Neue', Helvetica, Arial;
39 .dark-theme paper-input {
45 .dark-theme /deep/ input {
48 .dark-theme #underline {
50 border-bottom-color: #
666;
52 .dark-theme /deep/ #underline {
54 border-bottom-color: #
666;
56 .dark-theme .focusedColor {
60 .dark-theme /deep/ .focusedColor {
68 <h1><paper-input
></h1>
69 <div class=
"container">
70 <paper-input label=
"Type something..."></paper-input>
72 <div class=
"container">
73 <paper-input label=
"Type only numbers..." validate=
"^[0-9]*$" error=
"Input is not a number!"></paper-input>
75 <div class=
"container">
76 <paper-input disabled
label=
"I'm disabled"></paper-input>
78 <div class=
"container">
79 <paper-input floatingLabel
label=
"Floating label"></paper-input>
81 <div class=
"container">
82 <paper-input floatingLabel
label=
"Type only numbers... (floating)" validate=
"^[0-9]*$" error=
"Input is not a number!"></paper-input>
84 <div class=
"container">
85 <paper-input multiline
style=
"display:none;" label=
"Type multiple lines here..."></paper-input>
87 <div class=
"container">
88 <paper-input multiline
rows=
"3" label=
"This input is 3 rows high"></paper-input>
90 <div class=
"container">
91 <paper-input multiline
maxRows=
"3" label=
"This input is at most 3 rows high"></paper-input>
93 <div class=
"container">
94 <paper-input multiline floatingLabel
label=
"Multiple lines and a floating label"></paper-input>
97 <section class=
"dark-theme">
98 <div class=
"container">
99 <paper-input label=
"Type something..."></paper-input>
101 <div class=
"container">
102 <paper-input label=
"Type only numbers..." validate=
"^[0-9]*$" error=
"Input is not a number!"></paper-input>
104 <div class=
"container">
105 <paper-input disabled
label=
"I'm disabled"></paper-input>
107 <div class=
"container">
108 <paper-input floatingLabel
label=
"Floating label"></paper-input>
110 <div class=
"container">
111 <paper-input floatingLabel
label=
"Type only numbers... (floating)" validate=
"^[0-9]*$" error=
"Input is not a number!"></paper-input>