mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Much of the formatting was hardcoded and copied from the old anguar.io jade files. This gives us a clean start. Also, more use has been made of include files to make the templates easier to understand and manage.
40 lines
No EOL
1.5 KiB
HTML
40 lines
No EOL
1.5 KiB
HTML
<section class="class-overview">
|
|
<h2>Class Overview</h2>
|
|
<div class="api-doc-code">
|
|
|
|
<code class="no-bg openParens">class {$ doc.name $} {</code>
|
|
|
|
{% 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 %}
|
|
|
|
|
|
{% 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>
|
|
<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 %}
|
|
{% endif %}
|
|
|
|
<code class="endParens api-doc-code no-bg">}</code>
|
|
</div>
|
|
</section> |