angular-cn/aio/tools/transforms/templates/includes/_selectors.html

11 lines
276 B
HTML

{%- if doc.directiveOptions.selector.split(',').length %}
<div class="selectors api-section">
<h2>Selectors</h2>
{% for selector in doc.directiveOptions.selector.split(',') %}
<p class="selector">
<code>{$ selector $}</code>
</p>
{% endfor %}
</div>
{% endif %}