OLD | NEW |
---|---|
(Empty) | |
1 <link rel="import" href="../../../../packages/polymer/polymer.html"> | |
2 <link rel="import" href="curly_block.html"> | |
3 <link rel="import" href="observatory_element.html"> | |
4 <link rel="import" href="service_ref.html"> | |
5 | |
6 <polymer-element name="inbound-reference" extends="service-ref"> | |
7 <template> | |
8 <link rel="stylesheet" href="css/shared.css"> | |
9 <style> | |
10 .errorBox { | |
11 background-color: #f5f5f5; | |
12 border: 1px solid #ccc; | |
13 padding: 10px; | |
14 font-family: consolas, courier, monospace; | |
15 font-size: 1em; | |
16 line-height: 1.2em; | |
17 white-space: pre; | |
18 } | |
19 </style> | |
20 <div> | |
21 from <service-ref-downcast ref="{{ source }}"></service-ref-downcast> | |
22 <template if="{{ slotIsNum }}">via [{{ slot }}]</template> | |
koda
2014/08/21 18:21:20
Ditto; consider using whatever description the ret
rmacnak
2014/08/21 22:06:44
Changed retaining path to "in [2] of". This way th
| |
23 <template if="{{ slotIsField }}">via <field-ref ref="{{ slot }}"></templat e> | |
24 | |
25 <curly-block callback="{{ expander() }}"> | |
26 <div class="memberList"> | |
27 <div class="memberItem"> | |
28 <div class="memberName"><!-- BOGUS way to achieve indentation --> | |
29 <template repeat="{{ reference in inboundReferences] }}"> | |
30 <inbound-reference ref="{{ reference }}"></inbound-reference> | |
31 </template> | |
32 </div> | |
33 </div> | |
34 </div> | |
35 </curly-block> | |
36 </div> | |
37 </template> | |
38 </polymer-element> | |
39 | |
40 <script type="application/dart" src="inbound_reference.dart"></script> | |
OLD | NEW |