Skip to main content
cngx-src documentation

CngxStepBadgeContext

Interface

projects/common/stepper/slots/step-badge.directive.ts

Import#

import { CngxStepBadgeContext } from '@cngx/common/stepper'

Description#

Context passed to the *cngxStepBadge template. Drives the error badge inside a step button when errorAggregator?.shouldShow() is truthy. Consumers swap the built-in '!' glyph for a counter pill or branded marker; the visibility gate stays library-owned.

Index#

Properties

Instance Properties#

count#number
Readonly

Aggregated error count for this step (≥ 1 when shown).

Readonly

The step node carrying id / label / state signals.