OLD | NEW |
| 1 <link rel="import" href="../../../../packages/polymer/polymer.html"> |
| 2 |
1 <polymer-element name="curly-block"> | 3 <polymer-element name="curly-block"> |
2 <template> | 4 <template> |
3 <style> | 5 <style> |
4 .idle { | 6 .idle { |
5 display: inline-block; | 7 display: inline-block; |
6 color: #0489c3; | 8 color: #0489c3; |
7 cursor: pointer; | 9 cursor: pointer; |
8 } | 10 } |
9 .busy { | 11 .busy { |
10 display: inline-block; | 12 display: inline-block; |
(...skipping 18 matching lines...) Expand all Loading... |
29 | 31 |
30 <template if="{{ !expanded }}"> | 32 <template if="{{ !expanded }}"> |
31 <template if="{{ busy }}"> | 33 <template if="{{ busy }}"> |
32 {<div class="busy"> ⊞ </div>} | 34 {<div class="busy"> ⊞ </div>} |
33 </template> | 35 </template> |
34 <template if="{{ !busy }}"> | 36 <template if="{{ !busy }}"> |
35 {<a on-click="{{ toggleExpand }}"><div class="idle"> ⊞&
nbsp; </div></a>} | 37 {<a on-click="{{ toggleExpand }}"><div class="idle"> ⊞&
nbsp; </div></a>} |
36 </template> | 38 </template> |
37 </template> | 39 </template> |
38 </template> | 40 </template> |
39 <script type="application/dart" src="curly_block.dart"></script> | |
40 </polymer-element> | 41 </polymer-element> |
| 42 |
| 43 <script type="application/dart" src="curly_block.dart"></script> |
OLD | NEW |