OLD | NEW |
1 <link rel="import" href="../../../../packages/polymer/polymer.html"> | 1 <link rel="import" href="../../../../packages/polymer/polymer.html"> |
2 <link rel="import" href="curly_block.html"> | 2 <link rel="import" href="curly_block.html"> |
3 <link rel="import" href="field_ref.html"> | 3 <link rel="import" href="field_ref.html"> |
4 <link rel="import" href="observatory_element.html"> | 4 <link rel="import" href="observatory_element.html"> |
5 <link rel="import" href="service_ref.html"> | 5 <link rel="import" href="service_ref.html"> |
6 | 6 |
7 <polymer-element name="inbound-reference" extends="service-ref"> | 7 <polymer-element name="inbound-reference" extends="service-ref"> |
8 <template> | 8 <template> |
9 <link rel="stylesheet" href="css/shared.css"> | 9 <link rel="stylesheet" href="css/shared.css"> |
10 <div> | 10 <div> |
11 <template if="{{ ref['parentField'] != null }}"> | 11 <template if="{{ ref['parentField'] != null }}"> |
12 from <any-service-ref ref="{{ element['parentField'] }}"></any-service-r
ef> | 12 from <any-service-ref ref="{{ ref['parentField'] }}"></any-service-ref> |
13 </template> | 13 </template> |
14 <template if="{{ ref['parentListIndex'] != null }}"> | 14 <template if="{{ ref['parentListIndex'] != null }}"> |
15 from [{{ ref['parentListIndex'] }}] of | 15 from [{{ ref['parentListIndex'] }}] of |
16 </template> | 16 </template> |
17 <template if="{{ ref['_parentWordOffset'] != null }}"> | 17 <template if="{{ ref['_parentWordOffset'] != null }}"> |
18 from word[{{ ref['_parentWordOffset'] }}] of | 18 from word[{{ ref['_parentWordOffset'] }}] of |
19 </template> | 19 </template> |
20 <any-service-ref ref="{{ source }}"></any-service-ref> | 20 <any-service-ref ref="{{ source }}"></any-service-ref> |
21 <curly-block callback="{{ expander() }}"> | 21 <curly-block callback="{{ expander() }}"> |
22 <div class="memberList"> | 22 <div class="memberList"> |
23 <div class="memberItem"> | 23 <div class="memberItem"> |
24 <div class="memberName"> | 24 <div class="memberName"> |
25 <template repeat="{{ reference in inboundReferences] }}"> | 25 <template repeat="{{ reference in inboundReferences] }}"> |
26 <inbound-reference ref="{{ reference }}"></inbound-reference> | 26 <inbound-reference ref="{{ reference }}"></inbound-reference> |
27 </template> | 27 </template> |
28 </div> | 28 </div> |
29 </div> | 29 </div> |
30 </div> | 30 </div> |
31 </curly-block> | 31 </curly-block> |
32 </div> | 32 </div> |
33 </template> | 33 </template> |
34 </polymer-element> | 34 </polymer-element> |
35 | 35 |
36 <script type="application/dart" src="inbound_reference.dart"></script> | 36 <script type="application/dart" src="inbound_reference.dart"></script> |
OLD | NEW |