OLD | NEW |
1 <head> | 1 <head> |
2 <link rel="import" href="curly_block.html"> | 2 <link rel="import" href="curly_block.html"> |
3 <link rel="import" href="observatory_element.html"> | 3 <link rel="import" href="observatory_element.html"> |
4 <link rel="import" href="service_ref.html"> | 4 <link rel="import" href="service_ref.html"> |
5 </head> | 5 </head> |
6 <polymer-element name="instance-ref" extends="service-ref"> | 6 <polymer-element name="instance-ref" extends="service-ref"> |
7 <template> | 7 <template> |
8 <style> | 8 <style> |
9 .member { | 9 .member { |
10 vertical-align: top; | 10 vertical-align: top; |
11 padding: 0 0 0 1em; | 11 padding: 0 0 0 1em; |
12 } | 12 } |
13 </style> | 13 </style> |
14 <div> | 14 <div> |
15 <template if="{{ isUnexpectedRef(ref['type']) }}"> | 15 <template if="{{ isUnexpectedRef(ref['type']) }}"> |
16 unexpected reference type <{{ ref['type'] }}> | 16 unexpected reference type <{{ ref['type'] }}> |
17 </template> | 17 </template> |
18 | 18 |
19 <template if="{{ isNullRef(ref['type']) }}"> | 19 <template if="{{ isNullRef(ref['type']) }}"> |
20 {{ name }} | 20 <div title="{{ hoverText }}">{{ name }}</div> |
21 </template> | 21 </template> |
22 | 22 |
23 <template if="{{ (isStringRef(ref['type']) || | 23 <template if="{{ (isStringRef(ref['type']) || |
24 isBoolRef(ref['type']) || | 24 isBoolRef(ref['type']) || |
25 isIntRef(ref['type'])) }}"> | 25 isIntRef(ref['type'])) }}"> |
26 <a href="{{ url }}">{{ name }}</a> | 26 <a href="{{ url }}">{{ name }}</a> |
27 </template> | 27 </template> |
28 | 28 |
29 <template if="{{ isClosureRef(ref['type']) }}"> | 29 <template if="{{ isClosureRef(ref['type']) }}"> |
30 <a href="{{ url }}"> | 30 <a href="{{ url }}"> |
(...skipping 26 matching lines...) Expand all Loading... |
57 </td> | 57 </td> |
58 </tr> | 58 </tr> |
59 </table> | 59 </table> |
60 </curly-block> | 60 </curly-block> |
61 </template> | 61 </template> |
62 | 62 |
63 </div> | 63 </div> |
64 </template> | 64 </template> |
65 <script type="application/dart" src="instance_ref.dart"></script> | 65 <script type="application/dart" src="instance_ref.dart"></script> |
66 </polymer-element> | 66 </polymer-element> |
OLD | NEW |