Skip to main content
cngx-src documentation

CngxStepIndicatorContext

Interface

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

Import#

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

Description#

Context passed to the *cngxStepIndicator template. Drives the numbered / checkmark / error glyph inside each step button. The <button> shell - aria-current, aria-controls, click handler - stays library-owned.

status mirrors node.state(). busy is the presenter-derived "this step is the in-flight commit target" flag - independent of status === 'pending' (which is the aggregate landmark state).

Index#

Instance Properties#

$implicit#number
Readonly

Convenience alias for position - usable as let-position shorthand.

active#boolean
Readonly

true when this step is the current activeStepId.

Readonly

true when this step is the in-flight commit target.

Readonly

The step node carrying id / label / disabled / state signals.

position#number
Readonly

1-based position of this step in the flat step-only projection.

Readonly

Live step status - drives the visual variant (idle / success / error / busy).