Skip to content

FormCollection.fill

github-actions[bot] edited this page Dec 3, 2024 · 3 revisions

This method overrides ReadOnlyFormCollection.fill.

Fills the collection with the provided item.

public fill(
  item: TForm,
  start?: number,
  end?: number
): this

Source reference: src/forms/FormCollection.ts:147.

Parameters

  • item: TForm
    The item to fill the collection with.

  • start: number
    The index from which to start filling the collection, accepts both positive and negative values.

  • end: number
    The index until which to fill the collection, accepts both positive and negative values.

Returns: this

The observable collection on which the operation is performed.

See also

Clone this wiki locally