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

Side by Side Diff: third_party/polymer/components/iron-fit-behavior/iron-fit-behavior.html

Issue 3010683002: Update Polymer components. (Closed)
Patch Set: Rebase Created 3 years, 3 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 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 <div class="container"> 50 <div class="container">
51 <iron-fit-impl vertical-align="top" vertical-offset="20"> 51 <iron-fit-impl vertical-align="top" vertical-offset="20">
52 With vertical offset 52 With vertical offset
53 </iron-fit-impl> 53 </iron-fit-impl>
54 </div> 54 </div>
55 55
56 56
57 @demo demo/index.html 57 @demo demo/index.html
58 @polymerBehavior 58 @polymerBehavior
59 */ 59 */
60
61 Polymer.IronFitBehavior = { 60 Polymer.IronFitBehavior = {
62 61
63 properties: { 62 properties: {
64 63
65 /** 64 /**
66 * The element that will receive a `max-height`/`width`. By default it is the same as `this`, 65 * The element that will receive a `max-height`/`width`. By default it is the same as `this`,
67 * but it can be set to a child element. This is useful, for example, for implementing a 66 * but it can be set to a child element. This is useful, for example, for implementing a
68 * scrolling region inside the element. 67 * scrolling region inside the element.
69 * @type {!Element} 68 * @type {!Element}
70 */ 69 */
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 if (position.croppedArea === 0 && alignOk) { 602 if (position.croppedArea === 0 && alignOk) {
604 break; 603 break;
605 } 604 }
606 } 605 }
607 606
608 return position; 607 return position;
609 } 608 }
610 609
611 }; 610 };
612 </script> 611 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698