Skip to main content

ControlStateSource

Binding APIs that can supply a universal ControlState state facade.

Import

import type { ControlStateSource } from '@ngblocks/form-nodes';

When to use it

Use to inspect which binding API supplies a ControlState. The source can be absent when no supported binding is available; observe the facade's source signal.

Declaration

type ControlStateSource = 'formNode' | 'formField' | 'formControl' | 'formControlName' | 'ngModel';