ICollectionItemValidationTriggerConfig - Andrei15193/react-model-view-viewmodel GitHub Wiki

API / ICollectionItemValidationTriggerConfig<TItem> interface

Represents the collection item validation trigger configuration.

interface ICollectionItemValidationTriggerConfig<TItem>

Source reference: src/validation/triggers/CollectionItemValidationTrigger.ts:17.

Generic Parameters

  • TItem - The type of items the collection contains.

Properties

  • readonly collection - Gets the collection containing the items that may trigger validation.
  • readonly validationTriggerSelector - Gets the selector that provides the individual validation triggers for each item.

Methods

  • optional shouldTriggerValidation - Optional, a guard method which controls when a validation should be triggered.
⚠️ **GitHub.com Fallback** ⚠️