IPropertiesChangedEvent - Andrei15193/react-model-view-viewmodel GitHub Wiki
API / IPropertiesChangedEvent<T> interface
A specialized event for subscribing and unsubscribing from property changed events.
Extends IEvent<T, readonly
(keyof
T)[]>.
interface IPropertiesChangedEvent<T>
extends IEvent<T, readonly (keyof T)[]>
Source reference: src/viewModels/IPropertiesChangedEvent.ts:8
.
- T - The type exposing a properties changed event.
- subscribe - Subscribes the given eventHandler to the event.
- unsubscribe - Unsubscribes the given eventHandler to the event. The exact same object that was used to subscribe to the event must be passed as well.