Skip to main content
cngx-src documentation

CngxTagGroupSlotContext

Interface

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

Referenced by#

Import#

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

Description#

Shared context exposed by the two CngxTagGroup slots (*cngxTagGroupHeader, *cngxTagGroupAccessory) - the full reactive group state plus the live count of projected CngxTag children. Lets consumer headers render "Filters ({{ count }})" without injecting the group.

$implicit is void because the slots have no positional payload - consumers reach for the named fields below.

The per-slot names below alias this interface. A slot that grows its own field (e.g. position on accessory) forks its alias back into an interface extending this one - sibling consumers stay source-compatible either way.

Index#

Instance Properties#

$implicit#void
Readonly
Readonly
count#number
Readonly
Readonly
label#string | undefined
Readonly
semanticList#boolean
Readonly