{% include "lib/macros.html" -%} {% extends "api/api.template.html" %} {% block additional %}

Usage

In HTML Template Binding

{% if doc.usage %} {$ doc.usage | code $} {% else %} {% code -%} {{ {$ doc.name $}_expression | {$ doc.name $} {%- for param in doc.params %}{% if not loop.first %} : {$ param.name $}{% endif %}{% endfor -%} }} {%- endcode %} {% endif %}

In JavaScript

{% code -%} {%- set sep = joiner(', ') -%} $filter('{$ doc.name $}')({% for param in doc.params %}{$ sep() $}{$ param.name $}{% endfor -%}) {%- endcode %} {% include "lib/params.template.html" %} {% include "lib/this.template.html" %} {% include "lib/returns.template.html" %} {% endblock %}