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

API / ICollectionReorderedValidationTriggerConfig<TItem, TCollection> interface

Represents the collection reordered validation trigger configuration.

interface ICollectionReorderedValidationTriggerConfig<TItem = unknown, TCollection extends INotifyCollectionReordered<TItem> = INotifyCollectionReordered<TItem>>

Source reference: src/validation/triggers/CollectionReorderedValidationTrigger.ts:9.

Generic Parameters

Properties

  • readonly collection - Gets the collection that may trigger a validation.

Methods

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