OLD | NEW |
---|---|
(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"> | |
3 | |
4 <polymer-element name="cr-button" role="button"> | |
michaelpg
2015/02/19 00:20:17
since the <paper-button> already has role=button,
Jeremy Klein
2015/02/20 23:20:33
Yeah you might be right. I wasn't 100% sure on thi
Jeremy Klein
2015/02/21 00:18:12
Verified off-thread with Dominic that you're right
| |
5 <template> | |
6 <link rel="stylesheet" href="cr_button.css"> | |
7 | |
8 <paper-button disabled?="{{disabled}}" raised?="{{raised}}"> | |
9 <content></content> | |
10 </paper-button> | |
11 </template> | |
12 <script src="cr_button.js"></script> | |
13 </polymer-element> | |
OLD | NEW |