OLD | NEW |
| (Empty) |
1 <link rel="import" href="../../../../packages/polymer/polymer.html"> | |
2 <link rel="import" href="instance_ref.html"> | |
3 <link rel="import" href="observatory_element.html"> | |
4 <link rel="import" href="service_ref.html"> | |
5 | |
6 <polymer-element name="field-ref" extends="service-ref"> | |
7 <template> | |
8 <link rel="stylesheet" href="css/shared.css"> | |
9 <span> | |
10 <template if="{{ ref.isStatic] }}">static</template> | |
11 <template if="{{ ref.isFinal }}">final</template> | |
12 <template if="{{ ref.isConst }}">const</template> | |
13 <template if="{{ (ref.declaredType.name == 'dynamic' && | |
14 !ref.isFinal && !ref.isConst) }}"> | |
15 var | |
16 </template> | |
17 <template if="{{ (ref.declaredType.name != 'dynamic') }}"> | |
18 <instance-ref ref="{{ ref.declaredType }}"></instance-ref> | |
19 </template> | |
20 <a on-click="{{ goto }}" title="{{ hoverText }}" _href="{{ url }}">{{ name
}}</a> | |
21 </span> | |
22 </template> | |
23 </polymer-element> | |
24 | |
25 <script type="application/dart" src="field_ref.dart"></script> | |
OLD | NEW |