Skip to main content
cngx-src documentation

CngxTagLabelContext

Interface

projects/common/display/tag/slots/tag-slot.context.ts

Referenced by#

Import#

import { CngxTagLabelContext } from '@cngx/common/display'

Description#

Context exposed by the *cngxTagLabel slot — the full reactive Tag state bundled so consumer templates can switch on variant / colour / size / truncate without injecting the directive.

$implicit is void because the slot has no positional payload — consumers reach for the named fields below. Pattern mirrors CngxSelectInputSlotContext in @cngx/forms/select/shared.

Index#

Instance Properties#

$implicit#void
Readonly
Readonly
Readonly
truncate#boolean
Readonly
Readonly