Skip to main content
cngx-src documentation

CngxStepPanelHost

Interface

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

Referenced by#

Import#

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

Description#

Contract Level-4 organisms (and consumer-authored stepper skins) consume to render the panel body. Narrower than the presenter's full interface - just enough to project label / content templates and react to active-step changes.

Index#

Instance Properties#

activeStepId#Signal
Readonly
activeStepIndex#Signal
Readonly
flatSteps#Signal
Readonly

Methods#

contentTemplateFor#TemplateRef | null
contentTemplateFor(id: string)

Resolves a step id to its *cngxStepContent template (consumer-supplied).

@paramidstring
labelTemplateFor#TemplateRef | null
labelTemplateFor(id: string)

Resolves a step id to its *cngxStepLabel template (consumer-supplied).

@paramidstring