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