{% import "lib/macros.html" as lib -%}
{% extends "api/directive.template.html" %}

{% block usage %}
  <h2>Usage</h2>
  {% code %}
  <input type="{$ doc.inputType $}"
    {%- for param in doc.params %}
         {$ lib.directiveParam(param.alias or param.name, param.type, '="', '"') $}
    {%- endfor %}>
  {% endcode %}
{% endblock %}