Skip to main content
cngx-src documentation

CngxBreadcrumbIconContext

Interface

projects/ui/breadcrumb/breadcrumb-icon.directive.ts

Referenced by#

Import#

import { CngxBreadcrumbIconContext } from '@cngx/ui/breadcrumb'

Description#

Context for the *cngxBreadcrumbIcon template. Renders a per-crumb icon inside the CngxBreadcrumbBar crumb link (<a>), leading its label. The crumb carries the opaque CngxBreadcrumbCrumb.icon token so the slot can render it with any icon system.

Index#

Instance Properties#

Readonly

Convenience alias for crumb - usable as the let-crumb shorthand.

Readonly

The crumb the icon belongs to. Read crumb.icon for the opaque token.

index#number
Readonly

Crumb index inside the trail, starting at 0.