mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 13:44:41 +08:00
40 lines
1.1 KiB
HTML
40 lines
1.1 KiB
HTML
<h4 id={{name}} class="function-name">
|
|
{{name}}(<span class="args">{{#each arguments}}<span class="arg">{{#if isOptional}}[{{/if}}{{name}}{{#if isOptional}}]{{/if}}</span>{{/each}}</span>) <a href="#{{name}}" class="link"></a>
|
|
</h4>
|
|
|
|
<div class="function-description markdown-from-sourecode">
|
|
<p>{{{description}}}</p>
|
|
</div>
|
|
|
|
{{#if arguments.length}}
|
|
<strong>Parameters</strong>
|
|
<table class="arguments">
|
|
<tr>
|
|
<th>Argument</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
{{#each arguments}}
|
|
<tr>
|
|
<td style="width:15%;">
|
|
<em>{{name}}</em>
|
|
</td>
|
|
<td class="markdown-from-sourecode">
|
|
{{#if isOptional}}<span class="optional">Optional</span>{{/if}}
|
|
{{{description}}}
|
|
</td>
|
|
</tr>
|
|
{{/each}}
|
|
</table>
|
|
{{/if}}
|
|
|
|
{{#if returnValues.length}}
|
|
<strong>Returns</strong>
|
|
<table class="arguments">
|
|
<tr>
|
|
<th>Return Values</th>
|
|
</tr>
|
|
{{#each returnValues}}
|
|
<tr><td class="markdown-from-sourecode">{{{description}}}</td></tr>
|
|
{{/each}}
|
|
</table>
|
|
{{/if}}
|