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