ViewModel.notifyPropertiesChanged - Andrei15193/react-model-view-viewmodel GitHub Wiki

API / ViewModel / notifyPropertiesChanged method

Notifies all observers that the provided properties may have changed.

protected notifyPropertiesChanged(
  changedProperty: keyof this,
  ...otherChangedProperties: readonly (keyof this)[]
): void

Source reference: src/viewModels/ViewModel.ts:29.

Parameters

  • changedProperty: keyof this
    The name of the property that may have changed.

  • otherChangedProperties (rest): readonly (keyof this)[]
    The name of other properties that may have changed.

⚠️ **GitHub.com Fallback** ⚠️