CngxMatTabAggregatorDecorationOptions
projects/ui/mat-tabs/decorations/decoration-projectors.ts
Import#
import { CngxMatTabAggregatorDecorationOptions } from '@cngx/ui/mat-tabs'
Description#
Options for createMatTabAggregatorDecoration.
Index#
Instance Properties#
SignalOptional *cngxMatTabAggregatorContent template. When non-null
AND viewContainerRef is supplied, the projector renders an
embedded view per entry; otherwise it falls back to the
imperative textContent path.
DestroyRefReactive list of tabs whose bound aggregator wants reveal — caller pre-filters; sole effect-trigger.
HTMLElementSink fired when exactly one of contentTemplate /
viewContainerRef is supplied — the projector is mode-agnostic
so the dev-vs-prod gate lives in whichever sink the caller
passes. [cngxMatTabs] resolves this from
provideMatTabsConfig(withHalfWiredSlotSink(fn)); the default
is a dev-mode console.warn.
Optional dev-mode sink invoked when the retry ceiling is hit.
Defaults to a console.warn gated on ngDevMode.
ViewContainerRefRequired half of the slot path. Without it, the projector silently degrades to the imperative descriptor path.