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