Skip to content

IViewModelChangedValidationTriggerConfig

github-actions[bot] edited this page Dec 3, 2024 · 3 revisions
API / IViewModelChangedValidationTriggerConfig<TViewModel> interface

Represents the view model validation trigger configuration.

interface IViewModelChangedValidationTriggerConfig<TViewModel extends INotifyPropertiesChanged = INotifyPropertiesChanged>

Source reference: src/validation/triggers/ViewModelChangedValidationTrigger.ts:8.

Generic Parameters

Properties

  • readonly viewModel - The view model that may trigger a validation.

Methods

  • optional shouldTriggerValidation - Optional, a guard method which controls when a validation should be triggered.
Clone this wiki locally