FormCollection.set - Andrei15193/react-model-view-viewmodel GitHub Wiki

This method overrides ReadOnlyFormCollection.set.

Sets the provided item at the provided index.

public set(
  index: number,
  item: TForm
): number

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

Parameters

  • index: number
    The index to which to set the item.

  • item: TForm
    The item to set.

Returns: number

The length of the collection.

⚠️ **GitHub.com Fallback** ⚠️