Skip to main content
cngx-src documentation

CngxTabRouterCommitOptions

Interface

projects/common/tabs/router-commit.ts

Import#

import { CngxTabRouterCommitOptions } from '@cngx/common/tabs'

Description#

Options for createTabRouterCommit.

tabs is the presenter's live handle list - the action receives the target index, so it needs the registry to resolve the matching CngxTabHandle before computing its route. [cngxTabsRouteSync] passes the host's tabs signal straight through.

Index#

Instance Properties#

routeFor#function
ReadonlyOptional

Maps a tab handle to its router command array. Default (handle) => [handle.id] - the tab id is the child segment. Override for real route paths ((h) => ['settings', h.id]).

router#Router
Readonly
Readonly