Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(309)

Side by Side Diff: third_party/polymer/components/paper-input/demo/ssn-input.html

Issue 2113853002: Run bower update (Closed) Base URL: https://github.com/catapult-project/catapult@polymer10-migration
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!-- 1 <!--
2 @license 2 @license
3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. 3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt 4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.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/CONTRI BUTORS.txt 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
7 Code distributed by Google as part of the polymer project is also 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/PATEN TS.txt 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
9 --> 9 -->
10 <link rel="import" href="../../polymer/polymer.html"> 10 <link rel="import" href="../../polymer/polymer.html">
11 <link rel="import" href="../../iron-input/iron-input.html"> 11 <link rel="import" href="../../iron-input/iron-input.html">
12 <link rel="import" href="../../iron-flex-layout/iron-flex-layout.html"> 12 <link rel="import" href="../../iron-flex-layout/iron-flex-layout.html">
13 <link rel="import" href="ssn-validator.html"> 13 <link rel="import" href="ssn-validator.html">
14 14
15 <dom-module id="ssn-input"> 15 <dom-module id="ssn-input">
16 <template> 16 <template>
17 17
18 <style> 18 <style>
19 :host { 19 :host {
20 display: inline-block; 20 display: inline-block;
21 } 21 }
22 22
23 :host([hidden]) {
24 display: none !important;
25 }
26
23 input[is="iron-input"] { 27 input[is="iron-input"] {
24 font: inherit; 28 font: inherit;
25 outline: none; 29 outline: none;
26 box-shadow: none; 30 box-shadow: none;
27 border: none; 31 border: none;
28 width: auto; 32 width: auto;
29 text-align: center; 33 text-align: center;
30 } 34 }
31 35
32 .container { 36 .container {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 87
84 observers: [ 88 observers: [
85 '_computeValue(_ssn1,_ssn2,_ssn3)' 89 '_computeValue(_ssn1,_ssn2,_ssn3)'
86 ], 90 ],
87 91
88 _computeValue: function(ssn1, ssn2, ssn3) { 92 _computeValue: function(ssn1, ssn2, ssn3) {
89 this.value = ssn1.trim() + '-' + ssn2.trim() + '-' + ssn3.trim(); 93 this.value = ssn1.trim() + '-' + ssn2.trim() + '-' + ssn3.trim();
90 } 94 }
91 }); 95 });
92 </script> 96 </script>
OLDNEW
« no previous file with comments | « third_party/polymer/components/paper-input/bower.json ('k') | third_party/polymer/components/paper-input/paper-input.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698