Spec-Zone.ru › Angular

debounce

Configures the frequency at which a form field is updated by UI events.

API

function debounce<TValue, TPathKind extends PathKind = PathKind.Root>(
  path: SchemaPath<TValue, 1, TPathKind>,
  config: number | 'blur' | Debouncer<TValue, TPathKind>,
): void;
@parampathSchemaPath<TValue, 1, TPathKind>

The target path to debounce.

@paramconfignumber | "blur" | Debouncer<TValue, TPathKind>

A debounce configuration, which can be either a debounce duration in milliseconds, 'blur' to debounce until the field is blurred, or a custom Debouncer function.

@returnsvoid

Description

Configures the frequency at which a form field is updated by UI events.

When this rule is applied, updates from the UI to the form model will be delayed until either the field is touched, or the most recently debounced update resolves.

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

Spec-Zone.ru

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