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

Side by Side Diff: third_party/polymer/components-chromium/paper-dropdown-menu/paper-dropdown-menu-extracted.js

Issue 864173009: Add paper-dropdown and paper-dropdown-menu and run reproduce.sh (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 10 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 (function() { 3 (function() {
4 4
5 var p = { 5 var p = {
6 6
7 publish: { 7 publish: {
8 8
9 /** 9 /**
10 * A label for the control. The label is displayed if no item is selected. 10 * A label for the control. The label is displayed if no item is selected.
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 if (detail.isSelected) { 52 if (detail.isSelected) {
53 this.selectedItemLabel = detail.item.label || detail.item.textContent; 53 this.selectedItemLabel = detail.item.label || detail.item.textContent;
54 } else { 54 } else {
55 this.selectedItemLabel = ''; 55 this.selectedItemLabel = '';
56 } 56 }
57 } 57 }
58 58
59 }; 59 };
60 60
61 Polymer.mixin2(p, Polymer.CoreFocusable); 61 Polymer.mixin2(p, Polymer.CoreFocusable);
62 Polymer('core-dropdown-menu',p); 62 Polymer('paper-dropdown-menu',p);
63 63
64 })(); 64 })();
65 65
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698