CngxStepperConfig
projects/common/stepper/stepper-config.ts
Import#
import { CngxStepperConfig } from '@cngx/common/stepper'
Description#
Stepper config surface. Resolution priority: per-instance Input
provideStepperConfigAt(viewProviders) >provideStepperConfig(root) > library default. Canonical cngx config shape.
Index#
Instance Properties#
CngxStepperAriaLabelsOpt-in connector rail between adjacent step indicators on the
classic skin. Off by default. The rule is double-scoped on
[data-skin='classic'], so the four other skins are mechanically
untouched (each ships its own inter-step decoration). Per-instance
[connectors] Input still wins.
"optimistic" | "pessimistic""horizontal" | "vertical"CngxStepperDensitySpace-driven density policy for the classic strip. 'auto'
degrades labels on the strip's own container width; 'comfortable'
(default) keeps full labels. Orthogonal to mobileCollapse. Apply
app-wide via withStepperDensity.
CngxStepperDensityBreakpointsPer-step px thresholds for the density: 'auto' ladder. Default
STEPPER_DEFAULT_DENSITY_BREAKPOINTS. Override via
withStepperDensity's second argument.
CngxStepperFallbackLabelsCngxStepperGroupCollapseFocus-driven group-collapse policy. 'expand-active' collapses
non-active cngxStepGroup branches to their header node and expands
only the active group; 'off' (default) keeps the full strip.
Orthogonal to mobileCollapse. Apply app-wide via
withStepperGroupCollapse.
CngxStepperGroupSummaryWhat a collapsed cngxStepGroup header shows beside its label.
Default 'progress' (completed/total). Only applies when
groupCollapse is 'expand-active'. Set via
withStepperGroupCollapseSummary.
Media query the mobile auto-collapse policy reacts to. Default STEPPER_DEFAULT_MOBILE_BREAKPOINT. Tablet consumers can re-aim the trigger via withStepperMobileBreakpoint.
CngxStepperMobileCollapseCngxStepperMobileIndicatorPositionWhere the mobile auto-collapse indicator sits relative to the
panel content. Default 'top'. Override per-instance via the
[mobileIndicatorPosition] input or app-wide via
withStepperMobileIndicatorPosition.
Whether horizontal swipe gestures advance/retreat the active step
while the stepper is in mobile-collapse mode ('dots' / 'text').
Default true. Override per-instance via the [mobileSwipe] input
or app-wide via withStepperMobileSwipe. Ignored on the
classic strip and on the Material twin (<cngx-mat-stepper>).
"fragment" | "queryParam"CngxStepperSkinCngxStepperTemplates