-
Notifications
You must be signed in to change notification settings - Fork 87
/
reference-tpl.html
89 lines (68 loc) · 1.53 KB
/
reference-tpl.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!-- Snippets to use for docs -->
<!-- Argument -->
<nobr><<a href="#foo">Foo</a>> <i>name</i></nobr>
<!-- Class -->
<h2 id="[class-anchor]">[class-name]</h2>
<p>[description]</p>
<pre><code>[code-example]</code></pre>
<!-- constructor -->
<h3>Constructor</h3>
<table>
<tr>
<th>Constructor</th>
<th>Usage</th>
<th>Description</th>
</tr>
<tr>
<td><code>[constructor]( [arguments] )</code></td>
<td class="factory-usage">
<code><span class='keyword'>new</span> L.Map(<span class="comment">…</span>)</code><br />
<code>L.map(<span class="comment">…</span>)</code>
</td>
<td>[description]</td>
</tr>
</table>
<!-- methods -->
<h3>Methods</h3>
<table>
<tr>
<th>Method</th>
<th>Returns</th>
<th>Description</th>
</tr>
<tr>
<td><code><b>[method]</b>(<nobr><type></nobr> <i>argument</i>, <nobr><type> <i>argument</i>)</nobr></code></td>
<td><code>[return-type]</code></td>
<td>[description]</td>
</tr>
</table>
<!-- options -->
<h3 id="[class-anchor]-options">Options</h3>
<table>
<tr>
<th>Option</th>
<th>Type</th>
<th>Default value</th>
<th>Description</th>
</tr>
<tr>
<td><code><b>[name]</b></code></td>
<td><code>[type]</code></td>
<td><code>[default]</code></td>
<td>[description]</td>
</tr>
</table>
<!-- events -->
<h3>Events</h3>
<table>
<tr>
<th>Event</th>
<th>Data</th>
<th>Description</th>
</tr>
<tr>
<td><code><b>[name]</b></code></td>
<td><code><a href="[link]">[type]</a></code></td>
<td>[description]</td>
</tr>
</table>