Skip to main content
cngx-src documentation

withTabsCommitMode

Functioncommon/tabs

projects/common/tabs/tabs-config.ts

Description#

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

Signature#

withTabsCommitMode(mode)

Parameters#

@parammode

Returns#

CngxTabsConfigFeature