Skip to main content
cngx-src documentation

withTabsFragmentSync

Functioncommon/tabs

projects/common/tabs/tabs-config.ts

Description#

Configure URL fragment / query-param deep-linking for the active tab (the CngxTabsFragmentSync directive).
mode chooses the URL surface (URL fragment or query parameter); param names the key (default 'tab').

Not to be confused with [cngxTabsRouteSync], the router-outlet integration - this feature configures fragment deep-linking only.

Signature#

withTabsFragmentSync(mode, param: string)

Parameters#

@parammode
@paramparamstring= 'tab'

Returns#

CngxTabsConfigFeature