Back to Material

Methods.Template

docs/config/template/ngdoc/lib/methods.template.html

1.2.5489 B
Original Source

{% import "./macros.html" as macros %} {%- if doc.methods %}

Methods

{%- for method in doc.methods %} -

{$ doc.name $}.{$ macros.functionSyntax(method) $}

{$ method.description | marked $}

{% if method.params %} {$ macros.paramTable(method.params) $} {% endif %} {% if method.this %}

Method's {% code %}this{% endcode %}

{$ method.this | marked $} {% endif %} {% if method.returns %} {$ macros.returnTable(method.returns) $} {% endif %} {% endfor -%} {%- endif -%}