schangxiang@126.com
2025-09-17 c9c91ad3e3ac218d81c86809c93a35622b51a686
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 -%}