
If the documentation contains a `@selectors` tag then the content of that is used to describe the selectors of a directive. Otherwise the selector string is split and each selector is listed as a list item in an unordered list. PR Close #25768
15 lines
302 B
HTML
15 lines
302 B
HTML
{%- if doc.selector %}
|
|
<section class="selector-list">
|
|
<h2>Selectors</h2>
|
|
{% if doc.selectors %}
|
|
{$ doc.selectors | marked $}
|
|
{% else %}
|
|
<ul>
|
|
{%- for selector in doc.selectorArray %}
|
|
<li><code>{$ selector $}</code></li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
</section>
|
|
{% endif %}
|