Skip to main content
cngx-src documentation

CngxBreadcrumbItemAccessoryContext

Interface

projects/ui/breadcrumb/breadcrumb-item-accessory.directive.ts

Referenced by#

Import#

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

Description#

Context for the *cngxBreadcrumbItemAccessory template. Renders a per-crumb accessory inside the CngxBreadcrumbBar crumb <li> (typically a CngxBreadcrumbSiblings dropdown, static or router-driven). When the slot is projected it owns the accessory area for every crumb - the crumb's declarative siblings auto-render is suppressed.

Index#

Instance Properties#

Readonly

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

Readonly

The crumb the accessory belongs to.

index#number
Readonly

Crumb index inside the trail, starting at 0.