Skip to content

ValidationTrigger

github-actions[bot] edited this page Dec 3, 2024 · 3 revisions
API / ValidationTrigger<TTrigger> class

Represents a validation trigger. Generally, they wrap an observable object and whenever it changes the ValidationTrigger.validationTriggered event is raised.

This is an abstract class.

abstract class ValidationTrigger<TTrigger = unknown>

Source reference: src/validation/triggers/ValidationTrigger.ts:41.

Generic Parameters

  • TTrigger - The concrete type that may trigger validations.

    Default value: unknown.

Constructors

Properties

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

Methods

Inheritance Hierarchy

Clone this wiki locally