• 개요
@angular/forms/signals

FormFieldBinding

인터페이스
안정화v22.0부터

Represents a binding between a field and a UI control through a FormField directive.

API

    
      interface FormFieldBinding {}
    
    

element

HTMLElement

The HTML element on which the FormField directive is applied.

injector

Injector

The node injector for the element hosting this field binding.

state

Signal<ReadonlyFieldState<unknown, string | number>>

The FieldState of the field bound to the FormField directive.

focus

void

Focuses this field binding.

By default, this will focus element. However, custom controls can implement their own focus behavior.

@paramoptionsFocusOptions | undefined
@returnsvoid
상세 내용으로 이동