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.
299 lines
9.1 KiB
299 lines
9.1 KiB
{% if include.data.borrows.size > 0 %}
|
|
<a class="anchor" id="extends"></a>
|
|
<h2><a class="anchorable" href="#extends">Extends</a></h2>
|
|
{% for item in include.data.borrows %}
|
|
<a href="{{ site.baseurl }}/api/{{ item | api_url }}">{{ item }}</a>
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
{% if include.data.examples.size > 0 %}
|
|
<h2>Examples</h2>
|
|
|
|
{% for example in include.data.examples %}
|
|
<pre class="prettyprint"><code class="js" data-lang="js">{{example.content | filter_code}}</code></pre>
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
{% if include.data.settings.size > 0 %}
|
|
<a class="anchor" id="settings"></a>
|
|
<h2><a class="anchorable" href="#settings">Settings</a></h2>
|
|
|
|
<table class="settings">
|
|
<thead>
|
|
<tr>
|
|
<th>name</th>
|
|
<th>type</th>
|
|
<th>summary</th>
|
|
<th class="defined-by">defined by</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for item in include.data.settings %}
|
|
<tr>
|
|
<td>{{ item.name }}</td>
|
|
<td>
|
|
{% if item.dataTypes[0] contains 'tinymce' %}
|
|
<a href="{{ site.baseurl }}/api/{{ item.dataTypes[0] | api_url }}"><span class="param-type">{{ item.dataTypes[0] }}</span></a>
|
|
{% else %}
|
|
<span class="param-type">{{ item.dataTypes[0] }}</span>
|
|
{% endif %}
|
|
</td>
|
|
<td>{{ item.desc | no_nl }}</td>
|
|
<td class="defined-by">
|
|
<a href="{{ site.baseurl }}/api/{{ item.definedBy | api_url }}">{{ item.definedBy }}</a>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endif %}
|
|
|
|
{% if include.data.properties.size > 0 %}
|
|
<a class="anchor" id="properties"></a>
|
|
<h2><a class="anchorable" href="#properties">Properties</a></h2>
|
|
|
|
<table class="properties">
|
|
<thead>
|
|
<tr>
|
|
<th>name</th>
|
|
<th>type</th>
|
|
<th>summary</th>
|
|
<th class="defined-by">defined by</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for item in include.data.properties %}
|
|
<tr>
|
|
<td>{{ item.name }}</td>
|
|
<td>
|
|
{% if item.dataTypes[0] contains 'tinymce' %}
|
|
<a href="{{ site.baseurl }}/api/{{ item.dataTypes[0] | api_url }}"><span class="param-type">{{ item.dataTypes[0] }}</span></a>
|
|
{% else %}
|
|
<span class="param-type">{{ item.dataTypes[0] }}</span>
|
|
{% endif %}
|
|
</td>
|
|
<td>{{ item.desc | no_nl }}</td>
|
|
<td class="defined-by">
|
|
<a href="{{ site.baseurl }}/api/{{ item.definedBy | api_url }}">{{ item.definedBy }}</a>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endif %}
|
|
|
|
{% if include.data.constructors.size > 0 %}
|
|
<a class="anchor" id="constructors"></a>
|
|
<h2><a class="anchorable" href="#constructors">Constructors</a></h2>
|
|
|
|
<table class="constructors">
|
|
<thead>
|
|
<tr>
|
|
<th>name</th>
|
|
<th>summary</th>
|
|
<th class="defined-by">defined by</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for item in include.data.constructors %}
|
|
<tr>
|
|
<td><a href="#{{ item.name | anchor }}">{{ item.name }}()</a></td>
|
|
<td>{{ item.desc | no_nl }}</td>
|
|
<td class="defined-by">
|
|
<a href="{{ site.baseurl }}/api/{{ item.definedBy | api_url }}">{{ item.definedBy }}</a>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endif %}
|
|
|
|
{% if include.data.methods.size > 0 %}
|
|
<a class="anchor" id="methods"></a>
|
|
<h2><a class="anchorable" href="#methods">Methods</a></h2>
|
|
|
|
<table class="methods">
|
|
<thead>
|
|
<tr>
|
|
<th>name</th>
|
|
<th>summary</th>
|
|
<th class="defined-by">defined by</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for item in include.data.methods %}
|
|
<tr>
|
|
<td><a href="#{{ item.name | anchor }}">{{ item.name }}()</a></td>
|
|
<td>{{ item.desc | no_nl }}</td>
|
|
<td class="defined-by">
|
|
<a href="{{ site.baseurl }}/api/{{ item.definedBy | api_url }}">{{ item.definedBy }}</a>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endif %}
|
|
|
|
{% if include.data.events.size > 0 %}
|
|
<a class="anchor" id="events"></a>
|
|
<h2><a class="anchorable" href="#events">Events</a></h2>
|
|
|
|
<table class="events">
|
|
<thead>
|
|
<tr>
|
|
<th>name</th>
|
|
<th>summary</th>
|
|
<th class="defined-by">defined by</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for item in include.data.events %}
|
|
<tr>
|
|
<td><a href="#{{ item.name | anchor }}">{{ item.name }}</a></td>
|
|
<td>{{ item.desc | no_nl }}</td>
|
|
<td class="defined-by">
|
|
<a href="{{ site.baseurl }}/api/{{ item.definedBy | api_url }}">{{ item.definedBy }}</a>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endif %}
|
|
|
|
{% if include.data.constructors.size > 0 %}
|
|
<h2>Constructors</h2>
|
|
|
|
{% for item in include.data.constructors %}
|
|
<a class="anchor" id="{{ item.name | anchor }}"></a>
|
|
<h3><a class="anchorable" href="#{{ item.name | anchor }}">{{ item.name }}</a></h3>
|
|
<div class="signature">{{ item.signature }}</div>
|
|
|
|
<p>{{ item.desc | no_nl }}</p>
|
|
|
|
{% if item.examples.size > 0 %}
|
|
<h5>Examples</h5>
|
|
|
|
{% for example in item.examples %}
|
|
<pre class="prettyprint"><code class="js" data-lang="js">{{example.content | filter_code}}</code></pre>
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
{% if item.params.size > 0 %}
|
|
<h5>Parameters</h5>
|
|
|
|
<ul>
|
|
{% for param in item.params %}
|
|
<li>
|
|
<span class="param-name">{{ param.name }}</span>
|
|
{% if param.types[0] contains 'tinymce' %}
|
|
<a href="{{ site.baseurl }}/api/{{ param.types[0] | api_url }}"><span class="param-type">({{ param.types[0] }})</span></a>
|
|
{% else %}
|
|
<span class="param-type">({{ param.types[0] }})</span>
|
|
{% endif %}
|
|
- {{ param.desc | no_nl }}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
|
|
{% if item.return.types.size > 0 %}
|
|
<h5>Return value</h5>
|
|
|
|
<ul>
|
|
{% for type in item.return.types %}
|
|
<li>
|
|
{% if type contains 'tinymce' %}
|
|
<a href="{{ site.baseurl }}/api/{{ type | api_url }}"><span class="return-type">{{ type }}</span></a>
|
|
{% else %}
|
|
<span class="return-type">{{ type }}</span>
|
|
{% endif %}
|
|
- {{ item.return.desc | no_nl }}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
{% if include.data.methods.size > 0 %}
|
|
<h2>Methods</h2>
|
|
|
|
{% for item in include.data.methods %}
|
|
<a class="anchor" id="{{ item.name | anchor }}"></a>
|
|
<h3><a class="anchorable" href="#{{ item.name | anchor }}">{{ item.name }}</a></h3>
|
|
<div class="signature">{{ item.signature }}</div>
|
|
|
|
<p>{{ item.desc | no_nl }}</p>
|
|
|
|
{% if item.examples.size > 0 %}
|
|
<h5>Examples</h5>
|
|
|
|
{% for example in item.examples %}
|
|
<pre class="prettyprint"><code class="js" data-lang="js">{{example.content | filter_code}}</code></pre>
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
{% if item.params.size > 0 %}
|
|
<h5>Parameters</h5>
|
|
|
|
<ul>
|
|
{% for param in item.params %}
|
|
<li>
|
|
<span class="param-name">{{ param.name }}</span>
|
|
{% if param.types[0] contains 'tinymce' %}
|
|
<a href="{{ site.baseurl }}/api/{{ param.types[0] | api_url }}"><span class="param-type">({{ param.types[0] }})</span></a>
|
|
{% else %}
|
|
<span class="param-type">({{ param.types[0] }})</span>
|
|
{% endif %}
|
|
- {{ param.desc | no_nl }}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
|
|
{% if item.return.types.size > 0 %}
|
|
<h5>Return value</h5>
|
|
|
|
<ul>
|
|
{% for type in item.return.types %}
|
|
<li>
|
|
{% if type contains 'tinymce' %}
|
|
<a href="{{ site.baseurl }}/api/{{ type | api_url }}"><span class="return-type">{{ type }}</span></a>
|
|
{% else %}
|
|
<span class="return-type">{{ type }}</span>
|
|
{% endif %}
|
|
- {{ item.return.desc | no_nl }}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
{% if include.data.events.size > 0 %}
|
|
<h2>Events</h2>
|
|
|
|
{% for item in include.data.events %}
|
|
<a class="anchor" id="{{ item.name | anchor }}"></a>
|
|
<h3><a class="anchorable" href="#{{ item.name | anchor }}">{{ item.name }}</a></h3>
|
|
<p>{{ item.desc | no_nl }}</p>
|
|
|
|
{% if item.params.size > 0 %}
|
|
<h5>Parameters</h5>
|
|
|
|
<ul>
|
|
{% for param in item.params %}
|
|
<li>
|
|
<span class="param-name">{{ param.name }}</span>
|
|
{% if param.types[0] contains 'tinymce' %}
|
|
<a href="{{ site.baseurl }}/api/{{ param.types[0] | api_url }}"><span class="param-type">({{ param.types[0] }})</span></a>
|
|
{% else %}
|
|
<span class="param-type">({{ param.types[0] }})</span>
|
|
{% endif %}
|
|
- {{ param.desc | no_nl }}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endif %}
|