Spec-Zone.ru › Angular

Параметры привязки FormField

API

interface FormFieldBindingOptions {
  readonly focus?: ((focusOptions?: FocusOptions | undefined) => void) | undefined;
  readonly reset?: (() => void) | undefined;
}

focus

((focusOptions?: FocusOptions | undefined) => void) | undefined

Переводит привязку в фокус.

Если элемент не указан, Signal Forms попытается перевести в фокус хост-элемент FormField, когда для этой привязки будет запрошен фокус.

reset

(() => void) | undefined

Сбрасывает привязку.

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/FormFieldBindingOptions

Spec-Zone.ru

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