@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
Parameter | Type | Description |
---|---|---|
subscriber | Subscriber | The object that is unsubscribing from change notification. |
propertyToUnwatch | string | The name of the property that the subscriber is no longer interested in watching. |
void