-
Notifications
You must be signed in to change notification settings - Fork 2
EventDispatcher.unsubscribe
API / EventDispatcher<TSubject, TEventArgs> / 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.
public unsubscribe<TEventHandler extends IEventHandler<TSubject, TEventArgs>>(
eventHandler: TEventHandler
): void
Source reference: src/events/EventDispatcher.ts:29
.
-
TEventHandler
Type constraints: IEventHandler<TSubject, TEventArgs>.
-
eventHandler: TEventHandler
The event handler that was previously subscribed to the event.
Overview
Motivation
Guides and Tutorials - Getting Started
Releases
CodeSandbox
API
Events
IEvent
IEventHandler
EventDispatcher
ViewModels
INotifyPropertiesChanged
ViewModel
Forms
Form
IFormFieldConfig
FormField
ReadOnlyFormCollection
FormCollection
IConfigurableFormCollection
FormSetupCallback
Validation
IValidator
ValidatorCallback
IObjectValidator
IValidatable
Validation / Triggers
WellKnownValidationTrigger
ValidationTrigger
Observable Collection
ReadOnlyObservableCollection
ObservableCollection
INotifyCollectionChanged
CollectionChangeOperation
INotifyCollectionReordered
CollectionReorderOperation
Observable Map
ReadOnlyObservableMap
ObservableMap
INotifyMapChanged
MapChangeOperation
Observable Set
ReadOnlyObservableSet
ObservableSet
INotifySetChanged
SetChangeOperation
Dependency Handling
IDependencyResolver
IDependencyContainer
DependencyContainer
useDependency
useViewModelDependency
useDependencyResolver
React Hooks
useViewModel
useViewModelMemo
useObservableCollection
useObservableMap
useObservableSet