3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
13 <meta name=
"viewport" content=
"width=device-width, initial-scale=1, user-scalable=no">
15 <title>core-input
</title>
17 <script src=
"../webcomponentsjs/webcomponents.js"></script>
19 <link href=
"core-input.html" rel=
"import">
21 <style shim-shadowdom
>
23 font-family: RobotoDraft, 'Helvetica Neue', Helvetica, Arial;
27 -webkit-tap-highlight-color: rgba(
0,
0,
0,
0);
28 -webkit-touch-callout: none;
45 <template is=
"auto-binding">
49 <input is=
"core-input" placeholder=
"a single-line input" value=
"{{value1}}" committedValue=
"{{committedValue1}}">
51 <p>value: {{value1}}, committedValue: {{committedValue1}}
</p>
53 <input is=
"core-input" type=
"number" preventInvalidInput
placeholder=
"input type = number, preventInvalidInput" value=
"{{value2}}" committedValue=
"{{committedValue2}}">
55 <p>value: {{value2}}, committedValue: {{committedValue2}}
</p>