Skip to main content
cngx-src documentation

withStepperCommitMode

Functioncommon/stepper

projects/common/stepper/stepper-config.ts

Description#

Override the default commit mode for async step transitions. 'optimistic' advances on action dispatch and rolls back on error; 'pessimistic' waits for success. Per-instance [commitMode] Input still wins.

Signature#

withStepperCommitMode(mode)

Parameters#

@parammode

Returns#

CngxStepperConfigFeature