Spec-Zone.ru › Angular

FormFieldBinding

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

API

interface FormFieldBinding {
  readonly element: HTMLElement;
  readonly injector: Injector;
  readonly state: Signal<ReadonlyFieldState<unknown, string | number>>;
  focus(options?: FocusOptions | undefined): void;
}

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

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/forms/signals/FormFieldBinding

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API