Skip to main content
cngx-src documentation

CngxTabUrlMatchContext

Interface

projects/common/tabs/url-match.ts

Import#

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

Description#

Everything CngxTabUrlMatch needs to resolve the active tab. Passed in rather than injected, so the strategy stays a pure function of its inputs and needs no injection context.

Index#

Instance Properties#

activatedRoute#ActivatedRoute | null
Readonly

The sync directive's mount point. null outside a routed tree.

Readonly

Effective mode after the input / config / host-flavour cascade.

routeFor#function
Readonly

The directive's routeFor, already resolved.

router#Router
Readonly
tabs#unknown
Readonly

Registered tabs, in registration order.