angular-cn/aio/tools/transforms/templates/api/includes/selectors.html

15 lines
347 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 | replace(r/(:not\([^()]+\))/g, '<i>$1</i>') $}</code></li>
{% endfor %}
</ul>
{% endif %}
</section>
{% endif %}