• 개요
@angular/forms/signals

FieldContext

타입 별칭
안정화v22.0부터

Provides access to the state of the current field as well as functions that can be used to look up state of other fields based on a FieldPath.

API

    
      type FieldContext<TValue, TPathKind extends PathKind = PathKind.Root> = TPathKind extends PathKind.Item  ? ItemFieldContext<TValue>  : TPathKind extends PathKind.Child    ? ChildFieldContext<TValue>    : RootFieldContext<TValue>
    
    
상세 내용으로 이동