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

Side by Side Diff: ui/webui/resources/cr_elements/cr_expand_button/cr_expand_button.html

Issue 1100993002: Implement md-settings network lists. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup Created 5 years, 8 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
(Empty)
1 <link rel="import" href="chrome://resources/polymer/polymer/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/paper-button/paper-button.ht ml">
michaelpg 2015/04/23 02:16:29 import core-icon as well
stevenjb 2015/04/24 01:25:26 Done.
3
4 <polymer-element name="cr-expand-button">
5 <template>
6 <paper-button id="expand" disabled="{{disabled}}"
michaelpg 2015/04/23 02:16:29 If there's no need to give the button an ID, let's
michaelpg 2015/04/23 02:16:29 paper-button (through CoreFocusable) has a "toggle
Jeremy Klein 2015/04/23 18:21:15 It seems like core-icon-button or paper-icon-butto
stevenjb 2015/04/24 01:25:26 paper-icon-button only has a single icon. Using '
michaelpg 2015/04/24 19:35:37 Yeah, you have to click through the whole inherita
Jeremy Klein 2015/04/27 22:36:10 I'm not suggesting we get rid of this wrapper, jus
stevenjb 2015/04/28 01:05:02 Ah. Yes, that works, and we get a cute round hilig
7 on-click="{{toggleExpanded}}">
8 <core-icon icon="{{expanded ? 'expand-less' : 'expand-more'}}">
9 </core-icon>
10 </paper-button>
11 </template>
12 <script src="cr_expand_button.js"></script>
13 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698