@microsoft/fast-element > Notifier
Notifier interface
Provides change notification for a source object.
Signature:export interface Notifier
Properties
| Property | Type | Description |
|---|---|---|
| source | any | The source object that this notifier provides change notification for. |
Methods
| Method | Description |
|---|---|
| notify(args) | Notifies all subscribers, based on the args. |
| subscribe(subscriber, propertyToWatch) | Subscribes to notification of changes in an object's state. |
| unsubscribe(subscriber, propertyToUnwatch) | Unsubscribes from notification of changes in an object's state. |