1 | <section>
|
2 | <h2>Javascript Reference</h2>
|
3 |
|
4 | {{#each js.class}}
|
5 | <section>
|
6 | <h3>{{this.name}}</h3>
|
7 | <span class="mvl">{{markdown this.description}}</span>
|
8 |
|
9 | {{#if this.examples.[0]}}
|
10 | <div class="mvm docs-code">
|
11 | <code>{{this.examples.[0]}}</code>
|
12 | </div>
|
13 | {{/if}}
|
14 |
|
15 | {{#if this.params}}
|
16 | <div>
|
17 | <h3>Constructor Params</h3>
|
18 | <table class="docs-variable-table">
|
19 | <thead>
|
20 | <tr>
|
21 | <th>Name</th>
|
22 | <th>Type</th>
|
23 | <th>Description</th>
|
24 | </tr>
|
25 | </thead>
|
26 | <tbody>
|
27 | {{#each this.params}}
|
28 | <tr>
|
29 | <td>
|
30 | {{this.name}}
|
31 | </td>
|
32 | <td>
|
33 | {{this.type.names}}
|
34 | </td>
|
35 | <td>
|
36 | {{markdown this.description}}
|
37 | </td>
|
38 | </tr>
|
39 | {{/each}}
|
40 | </tbody>
|
41 | </table>
|
42 | </div>
|
43 | {{/if}}
|
44 | {{#if this.properties}}
|
45 | <div>
|
46 | <h3>Class Properties</h3>
|
47 | <table class="docs-variable-table">
|
48 | <thead>
|
49 | <tr>
|
50 | <th>Name</th>
|
51 | <th>Type</th>
|
52 | <th>Description</th>
|
53 | </tr>
|
54 | </thead>
|
55 | <tbody>
|
56 | {{#each this.properties}}
|
57 | <tr>
|
58 | <td>
|
59 | {{this.name}}
|
60 | </td>
|
61 | <td>
|
62 | {{this.type.names}}
|
63 | </td>
|
64 | <td>
|
65 | {{markdown this.description}}
|
66 | </td>
|
67 | </tr>
|
68 | {{/each}}
|
69 | </tbody>
|
70 | </table>
|
71 | </div>
|
72 | {{/if}}
|
73 | </section>
|
74 | <hr>
|
75 | {{/each}}
|
76 |
|
77 | {{#if js.event}}
|
78 | <section class="mtm">
|
79 | <h3>Events</h3>
|
80 |
|
81 | <table class="docs-variable-table">
|
82 | <thead>
|
83 | <tr>
|
84 | <th>Name</th>
|
85 | <th>Description</th>
|
86 | </tr>
|
87 | </thead>
|
88 | <tbody>
|
89 | {{#each js.event}}
|
90 | <tr>
|
91 | <td><code>{{this.name}}</code></td>
|
92 | <td>{{markdown this.description}}</td>
|
93 | </tr>
|
94 | {{/each}}
|
95 | </tbody>
|
96 | </table>
|
97 | </section>
|
98 | <hr>
|
99 | {{/if}}
|
100 |
|
101 | {{#if js.function}}
|
102 | <section>
|
103 | <h3>Methods</h3>
|
104 |
|
105 | <table class="docs-variable-table">
|
106 | <thead>
|
107 | <tr>
|
108 | <th>Name</th>
|
109 | <th>Description</th>
|
110 | </tr>
|
111 | </thead>
|
112 | <tbody>
|
113 | {{#each js.function}}
|
114 | <tr>
|
115 | <td><code>{{this.name}}</code></td>
|
116 | <td>{{markdown this.description}}</td>
|
117 | </tr>
|
118 | {{/each}}
|
119 | </tbody>
|
120 | </table>
|
121 | </section>
|
122 | <hr>
|
123 | {{/if}}
|
124 |
|
125 | </section>
|