angular-cn/aio/tools/transforms/templates/includes/_class-overview.html

40 lines
1.5 KiB
HTML
Raw Normal View History

<section class="class-overview api-section">
2017-04-24 13:49:37 -04:00
<h2>Class Overview</h2>
<div class="api-doc-code">
2017-04-24 13:49:37 -04:00
<code class="no-bg openParens">class {$ doc.name $} {</code>
2017-04-24 13:49:37 -04:00
{% if doc.statics.length %}
<div class="statics">
{% for member in doc.statics %}{% if not member.internal %}
<pre class="prettyprint no-bg-with-indent"><code>static
<a class="code-anchor" href="#{$ member.name $}-anchor">{$ member.name | indent(6, false) | trim $}</a>
{$ params.paramList(member.parameters) | indent(8, false) | trim $}{$ params.returnType(member.returnType) $}
</code></pre>
{% endif %}{% endfor %}
</div>
{% endif %}
2017-04-24 13:49:37 -04:00
{% if doc.constructorDoc.name %}
<div class="constructor">
<pre class="prettyprint no-bg-with-indent"><code>
<a class="code-anchor" href="#constructor">{$ doc.constructorDoc.name $}</a>
{$ params.paramList(doc.constructorDoc.parameters) | indent(8, false) | trim $}
</code></pre>
</div>
{% endif %}
{% if doc.members.length %}
<div class="members">
{% for member in doc.members %}{% if not member.internal %}
<pre class="prettyprint no-bg-with-indent"><code>
2017-04-24 13:49:37 -04:00
<a class="code-anchor" href="#{$ member.name $}-anchor">{$ member.name | indent(6, false) | trim $}</a>
{$ params.paramList(member.parameters) | indent(8, false) | trim $}{$ params.returnType(member.returnType) $}
</code></pre>
2017-04-24 13:49:37 -04:00
{% endif %}{% endfor %}
{% endif %}
2017-04-24 13:49:37 -04:00
<code class="endParens api-doc-code no-bg">}</code>
</div>
</section>