Skip to content

IPropertiesChangedEvent.unsubscribe

github-actions[bot] edited this page Nov 17, 2024 · 2 revisions
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.

Generic Parameters

Parameters

  • eventHandler: TEventHandler
    The event handler that was previously subscribed to the event.
Clone this wiki locally