2
schangxiang@126.com
2024-08-16 b47c50a2a514def7374b32d7194b2c599cba5625
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
{%- if doc.methods %}
<h2>Methods</h2>
<ul class="methods">
    {%- for method in doc.methods %}
    <li id="{$ method.name $}">
        <div class="method-header">
            <h3>{$ functionSyntax(method) $}</h3>
 
            <div>{$ method.description | marked $}</div>
        </div>
 
        {% if method.params %}
        <h4>Parameters</h4>
        {$ paramTable(method.params) $}
        {% endif %}
 
        {% if method.this %}
        <h4>Method's {% code %}this{% endcode %}</h4>
        {$ method.this | marked $}
        {% endif %}
 
        {% if method.returns %}
        <h4>Returns</h4>
        {$ typeInfo(method.returns) $}
        {% endif %}
 
    </li>
    {% endfor -%}
</ul>
{%- endif -%}