api-templates: separate out selectors into a list
This commit is contained in:
parent
8ec5b2bb83
commit
62adb91544
@ -4,11 +4,14 @@
|
|||||||
|
|
||||||
{% block additional %}
|
{% block additional %}
|
||||||
.l-main-section
|
.l-main-section
|
||||||
h2 Selector
|
h2 Selectors
|
||||||
.l-sub-section
|
.l-sub-section
|
||||||
|
{% for selector in doc.directiveOptions.selector.split(',') %}
|
||||||
h3.selector
|
h3.selector
|
||||||
code {$ doc.directiveOptions.selector $}
|
code {$ selector $}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
{% if doc.inputs.length %}
|
||||||
.l-main-section
|
.l-main-section
|
||||||
h2 Inputs
|
h2 Inputs
|
||||||
.l-sub-section
|
.l-sub-section
|
||||||
@ -19,7 +22,9 @@
|
|||||||
:markdown
|
:markdown
|
||||||
{$ property.memberDoc.description | indentForMarkdown(2) | trimBlankLines $}
|
{$ property.memberDoc.description | indentForMarkdown(2) | trimBlankLines $}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if doc.ouputs.length %}
|
||||||
.l-main-section
|
.l-main-section
|
||||||
h2 Outputs
|
h2 Outputs
|
||||||
.l-sub-section
|
.l-sub-section
|
||||||
@ -30,4 +35,5 @@
|
|||||||
:markdown
|
:markdown
|
||||||
{$ event.memberDoc.description | indentForMarkdown(2) | trimBlankLines $}
|
{$ event.memberDoc.description | indentForMarkdown(2) | trimBlankLines $}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user