CngxTagPrefix
projects/common/display/tag/slots/tag-prefix.directive.ts
Import#
import { CngxTagPrefix } from '@cngx/common/display'
Description#
Override template for content rendered BEFORE the label region of
<span cngxTag>. Use for icon glyphs, status dots, count badges,
or any per-tag prefix decoration.
The slot has no default body - when not projected, no DOM is rendered in the prefix position.
<span cngxTag [color]="'warning'">
<ng-template cngxTagPrefix>
<cngx-icon name="alert-triangle" />
</ng-template>
Action required
</span>