ViewModel - Andrei15193/react-model-view-viewmodel GitHub Wiki
API / ViewModel class
Represents a base view model class providing core features.
Implements INotifyPropertiesChanged.
This is an abstract class.
abstract class ViewModel
implements INotifyPropertiesChanged
Source reference: src/viewModels/ViewModel.ts:8
.
-
constructor - Initializes a new instance of the
ViewModel
class.
- propertiesChanged - An event that is raised when one or more properties may have changed.
-
protected
notifyPropertiesChanged - Notifies all observers that the provided properties may have changed.