Skip to main content
cngx-src documentation

createTabsCommitHandler

Functioncommon/tabs

projects/common/tabs/commit-handler.ts

Description#

Wraps a CngxCommitController with the action-shape adapter that collapses Observable<boolean> / Promise<boolean> / boolean returns into a single accept: boolean outcome.

Signature#

createTabsCommitHandler(opts: CngxTabsCommitHandlerOptions)

Parameters#

Returns#

CngxTabsCommitHandler