Skip to content

MapChangedValidationTrigger

github-actions[bot] edited this page Dec 3, 2024 · 3 revisions
API / MapChangedValidationTrigger<TKey, TItem, TMap> class

Represents a map changed validation trigger. Whenever the map changes a validation may be triggered.

Extends ValidationTrigger<TMap>.

class MapChangedValidationTrigger<TKey = unknown, TItem = unknown, TMap extends INotifyMapChanged<TKey, TItem> = INotifyMapChanged<TKey, TItem>>
    extends ValidationTrigger<TMap>

Source reference: src/validation/triggers/MapChangedValidationTrigger.ts:30.

Generic Parameters

  • TKey - The type of keys the map contains.

    Default value: unknown.

  • TItem - The type of items the map contains.

    Default value: unknown.

  • TMap - The map type that may trigger validations.

    Type constraints: INotifyMapChanged<TKey, TItem>.
    Default value: INotifyMapChanged<TKey, TItem>.

Constructors

Properties

  • inherited readonly trigger - Gets the source object that triggers validation.
  • inherited readonly validationTriggered - Gets an event that is raised whenever the source object triggers a validation.

Methods

Inheritance Hierarchy

Clone this wiki locally