Skip to main content
cngx-src documentation

CngxStepRejectionContext

Interface

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

Import#

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

Description#

Context passed to the *cngxStepRejection template. Renders on the strip step the most recent commit was rolled back FROM - sibling of the tabs cngxTabRejectionIcon slot. Renders only when presenter.lastFailedIndex() matches the step's flat-index.

originLabel is the safe-harbour step's label, derived from presenter.originIndexDuringCommit(). May be undefined when the origin index is out of range (synchronous-rejection edge case); gate richer UI on its presence.

Index#

Instance Properties#

failedIndex#number
Readonly

Flat-index of the rejected step (presenter.lastFailedIndex()).

Readonly

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

originLabel#string | undefined
Readonly

Resolved label of the safe-harbour step, when derivable.