Skip to main content
cngx-src documentation

CngxStepNode

Interface

projects/common/stepper/stepper-host.token.ts

Referenced by#

Import#

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

Description#

Step-tree node. Either a terminal step (has its own panel) or a group carrying nested children. Discriminated by kind.

Index#

Instance Properties#

children#unknown
Readonly

Direct children for group nodes; empty for step nodes.

depth#number
Readonly

DFS depth (root = 0).

disabled#Signal
Readonly
errorAggregator#Signal
ReadonlyOptional

Optional error aggregator signal for badge / SR phrasing.

errorMessage#Signal
ReadonlyOptional

Message carried by a direct [error] string input on the step, or undefined when [error] is boolean / absent. Pure data carrier read by the *cngxStepError slot + the mini-skin aggregate line - not a swap surface.

flatIndex#number
Readonly

Flat-projection index inside flatSteps(). -1 for groups.

Readonly
kind#"step" | "group"
Readonly
label#Signal
Readonly
parentId#string | null
Readonly

Parent group id, or null for root.

state#Signal
Readonly

Live step status. Reactive to commit-controller + aggregator.