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
.
- TItem - The type of items the collection contains.
-
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.
-
optional
shouldTriggerValidation - Optional, a guard method which controls when a validation should be triggered.