type.html revision f2477e01787aa58f445919b809d89e252beef54f
1{{#type}}
2<div>
3  {{?display_name}}
4  <h3 id="{{id}}">{{display_name}}</h3>
5  {{/display_name}}
6  <div>
7    {{^is_object}}
8    {{?enum_values}}
9    <dd>enum of
10      {{#e:enum_values}}
11      {{?e.last}}or {{/}}<code>"{{e.name}}"</code>{{^e.last}}, {{/}}
12      {{/enum_values}}
13    </dd>
14    {{:enum_values}}
15    <dd>
16      {{+partials.variable_type type:type/}}
17    </dd>
18    {{/enum_values}}
19    {{/is_object}}
20    {{?description}}
21    <dd>{{{description}}}</dd>
22    {{/description}}
23    {{+partials.enum_descriptions values:enum_values/}}
24    {{?properties}}
25      {{+partials.type_item title:strings.properties
26                            display_name:display_name
27                            items:properties
28                            item_partial:partials.parameter_full/}}
29    {{/properties}}
30    {{?functions}}
31      {{+partials.type_item title:strings.methods
32                            display_name:display_name
33                            items:functions
34                            item_partial:partials.function/}}
35    {{/functions}}
36    {{?events}}
37      {{+partials.type_item title:strings.events
38                            display_name:display_name
39                            items:events
40                            item_partial:partials.event/}}
41    {{/events}}
42  </div>
43</div>
44{{/type}}
45