IPropertiesChangedEvent.unsubscribe - Andrei15193/react-model-view-viewmodel GitHub Wiki
API / IPropertiesChangedEvent<T> / unsubscribe method
Unsubscribes the given eventHandler to the event. The exact same object that was used to subscribe to the event must be passed as well.
unsubscribe<TEventHandler extends IPropertiesChangedEventHandler<T>>(
eventHandler: TEventHandler
): void
Source reference: src/viewModels/IPropertiesChangedEvent.ts:19
.
-
TEventHandler
Type constraints: IPropertiesChangedEventHandler<T>.
-
eventHandler: TEventHandler
The event handler that was previously subscribed to the event.