Skip to content

IPropertiesChangedEvent

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

Generic Parameters

  • T - The type exposing a properties changed event.

Methods

  • 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.
Clone this wiki locally