object.template.html 619 B

1234567891011121314151617181920212223
  1. {% include "lib/macros.html" %}
  2. {% extends "api/api.template.html" %}
  3. {% block additional %}
  4. {% if doc.params or doc.returns or doc.this or doc.kind == 'function' -%}
  5. <h2 id="usage">Usage</h2>
  6. {% if doc.usage %}
  7. {$ doc.usage | code $}
  8. {% else %}
  9. {$ functionSyntax(doc) $}
  10. {% endif %}
  11. {% include "lib/params.template.html" %}
  12. {% include "lib/this.template.html" %}
  13. {% include "lib/returns.template.html" %}
  14. {%- endif %}
  15. {% include "lib/methods.template.html" %}
  16. {% include "lib/events.template.html" %}
  17. {% include "lib/properties.template.html" %}
  18. {% endblock %}