@microsoft/fast-element > Notifier > unsubscribe
Notifier.unsubscribe() method
Unsubscribes from notification of changes in an object's state.
Signature:unsubscribe(subscriber: Subscriber, propertyToUnwatch?: any): void;
Parameters
Parameter | Type | Description |
---|---|---|
subscriber | Subscriber | The object that is unsubscribing from change notification. |
propertyToUnwatch | any | The name of the property that the subscriber is no longer interested in watching. |
void
Remarks
Some implementation may or may not require the propertyToUnwatch.