OLD | NEW |
1 <link rel="import" href="../../../../packages/polymer/polymer.html"> | 1 <link rel="import" href="../../../../packages/polymer/polymer.html"> |
2 <link rel="import" href="instance_ref.html"> | 2 <link rel="import" href="instance_ref.html"> |
3 | 3 |
4 <polymer-element name="action-link"> | 4 <polymer-element name="action-link"> |
5 <template> | 5 <template> |
6 <style> | 6 <style> |
7 .idle { | 7 .idle { |
8 color: #0489c3; | 8 color: #0489c3; |
9 cursor: pointer; | 9 cursor: pointer; |
10 text-decoration: none; | 10 text-decoration: none; |
(...skipping 16 matching lines...) Expand all Loading... |
27 <span class="idle"><a on-click="{{ doAction }}">[{{ label }}]</a></span> | 27 <span class="idle"><a on-click="{{ doAction }}">[{{ label }}]</a></span> |
28 </template> | 28 </template> |
29 <template if="{{ color != null }}"> | 29 <template if="{{ color != null }}"> |
30 <span class="idle" style="color:{{ color }}"><a on-click="{{ doAction }}
">[{{ label }}]</a></span> | 30 <span class="idle" style="color:{{ color }}"><a on-click="{{ doAction }}
">[{{ label }}]</a></span> |
31 </template> | 31 </template> |
32 </template> | 32 </template> |
33 </template> | 33 </template> |
34 </polymer-element> | 34 </polymer-element> |
35 | 35 |
36 <script type="application/dart" src="action_link.dart"></script> | 36 <script type="application/dart" src="action_link.dart"></script> |
OLD | NEW |