Skip to main content
cngx-src documentation

CngxTabUrlMatch

Interface

projects/common/tabs/url-match.ts

Import#

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

Description#

Resolves which registered tab the current URL belongs to.

Index#

Methods

Methods#

resolve#string | null
resolve(ctx: CngxTabUrlMatchContext)

Active tab id, or null when the URL is outside this tab set.