You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Leaflet/docs/reference-tpl.html

90 lines
1.5 KiB

<!-- Snippets to use for docs -->
<!-- Argument -->
<nobr>&lt;<a href="#foo">Foo</a>&gt; <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]&nbsp;)</code></td>
<td class="factory-usage">
<code><span class='keyword'>new</span> L.Map(<span class="comment">&hellip;</span>)</code><br />
<code>L.map(<span class="comment">&hellip;</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>
10 years ago
<td><code><b>[method]</b>(<nobr>&lt;type&gt;</nobr> <i>argument</i>, <nobr>&lt;type&gt; <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>