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

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

Issue 1155683008: Rename polymer and cr_elements v0_8 to v1_0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v1
Patch Set: fix a merge mistake Created 5 years, 6 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 2
3 /** @polymerBehavior */ 3 /** @polymerBehavior */
4 Polymer.IronSelectableBehavior = { 4 Polymer.IronSelectableBehavior = {
5 5
6 properties: { 6 properties: {
7 7
8 /** 8 /**
9 * If you want to use the attribute value of an element for `selected` ins tead of the index, 9 * If you want to use the attribute value of an element for `selected` ins tead of the index,
10 * set this to the name of the attribute. 10 * set this to the name of the attribute.
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 285
286 _itemActivate: function(value, item) { 286 _itemActivate: function(value, item) {
287 if (!this.fire('iron-activate', 287 if (!this.fire('iron-activate',
288 {selected: value, item: item}, {cancelable: true}).defaultPrevented) { 288 {selected: value, item: item}, {cancelable: true}).defaultPrevented) {
289 this.select(value); 289 this.select(value);
290 } 290 }
291 } 291 }
292 292
293 }; 293 };
294 294
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698