OLD | NEW |
(Empty) | |
| 1 <link rel="import" href="../../../../packages/polymer/polymer.html"> |
| 2 <link rel="import" href="service_ref.html"> |
| 3 |
| 4 <polymer-element name="library-ref-as-value"> |
| 5 <template> |
| 6 <link rel="stylesheet" href="css/shared.css"> |
| 7 <style> |
| 8 .indented { |
| 9 margin-left: 1.5em; |
| 10 font: 400 14px 'Montserrat', sans-serif; |
| 11 line-height: 150%; |
| 12 } |
| 13 </style> |
| 14 <library-ref ref="{{ ref }}"></library-ref> |
| 15 <curly-block callback="{{ expander() }}" expandKey="{{ expandKey }}"> |
| 16 <div class="indented"> |
| 17 <template repeat="{{ field in ref.variables }}"> |
| 18 <template if="{{ field.isStatic }}"> |
| 19 {{ field.name }} : |
| 20 <any-service-ref ref="{{ field.staticValue }}" |
| 21 expandKey="{{ makeExpandKey(field.name) }}"> |
| 22 </any-service-ref><br> |
| 23 </template> |
| 24 </template> |
| 25 </div> |
| 26 </curly-block> |
| 27 </template> |
| 28 </polymer-element> |
| 29 |
| 30 <script type="application/dart" src="library_ref_as_value.dart"></script> |
OLD | NEW |