Skip to main content
cngx-src documentation

CngxMatTabHandleSetup

Interface

projects/ui/mat-tabs/material-bridge/handle.ts

Import#

import { CngxMatTabHandleSetup } from '@cngx/ui/mat-tabs'

Description#

Wiring bundle returned from createMatTabHandle. The directive owns the writable errorAggregator slot so the [cngxMatTabError] per-tab directive can pump aggregators into it; label and disabled track Material's current state via a toSignal(matTab._stateChanges) trigger.

Index#

Instance Properties#

directError#WritableSignal
Readonly

Direct invalid flag the [cngxMatTabErrorFlag] directive writes - string | boolean, mirroring CngxTab.error. Folds into the handle's hasError / errorMessage alongside the aggregator.

disabled#Signal
Readonly

Convenience mirror of handle.disabled.

errorAggregator#WritableSignal
Readonly
Readonly
label#Signal
Readonly

Convenience mirror of handle.label.