| <head> |
| <link rel="import" href="instance_ref.html"> |
| <link rel="import" href="observatory_element.html"> |
| <link rel="import" href="service_ref.html"> |
| </head> |
| <polymer-element name="field-ref" extends="service-ref"> |
| <template> |
| <link rel="stylesheet" href="css/shared.css"> |
| <div> |
| <template if="{{ ref['static'] }}">static</template> |
| <template if="{{ ref['final'] }}">final</template> |
| <template if="{{ ref['const'] }}">const</template> |
| <template if="{{ (ref['declared_type']['name'] == 'dynamic' && |
| !ref['final'] && !ref['const']) }}"> |
| var |
| </template> |
| <template if="{{ (ref['declared_type']['name'] != 'dynamic') }}"> |
| <instance-ref ref="{{ ref['declared_type'] }}"></instance-ref> |
| </template> |
| <a on-click="{{ goto }}" title="{{ hoverText }}" href="{{ url }}">{{ name }}</a> |
| </div> |
| </template> |
| <script type="application/dart" src="field_ref.dart"></script> |
| </polymer-element> |