Skip to main content

@microsoft/fast-element > PropertyChangeNotifier > unsubscribe

PropertyChangeNotifier.unsubscribe() method

Unsubscribes from notification of changes in an object's state.

Signature:
unsubscribe(subscriber: Subscriber, propertyToUnwatch?: string): void;

Parameters

ParameterTypeDescription
subscriberSubscriberThe object that is unsubscribing from change notification.
propertyToUnwatchstringThe name of the property that the subscriber is no longer interested in watching.
Returns:

void