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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/iron-collapse/iron-collapse-extracted.js

Issue 1351623008: MD Settings: Languages model for language pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@SingletonPrefs
Patch Set: Created 5 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 Polymer({ 1
2 2
3 Polymer({
4
3 is: 'iron-collapse', 5 is: 'iron-collapse',
4 6
5 properties: { 7 properties: {
6 8
7 /** 9 /**
8 * If true, the orientation is horizontal; otherwise is vertical. 10 * If true, the orientation is horizontal; otherwise is vertical.
9 * 11 *
10 * @attribute horizontal 12 * @attribute horizontal
11 */ 13 */
12 horizontal: { 14 horizontal: {
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 this.toggleClass('iron-collapse-closed', !this.opened); 110 this.toggleClass('iron-collapse-closed', !this.opened);
109 this.toggleClass('iron-collapse-opened', this.opened); 111 this.toggleClass('iron-collapse-opened', this.opened);
110 this.enableTransition(false); 112 this.enableTransition(false);
111 }, 113 },
112 114
113 _calcSize: function() { 115 _calcSize: function() {
114 return this.getBoundingClientRect()[this.dimension] + 'px'; 116 return this.getBoundingClientRect()[this.dimension] + 'px';
115 }, 117 },
116 118
117 119
118 }); 120 });
121
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698