Skip to main content

@microsoft/fast-element > BindingObserver

BindingObserver interface

Enables evaluation of and subscription to a binding.

Signature:
export interface BindingObserver<TSource = any, TReturn = any, TParent = any> extends Notifier 

Methods

MethodDescription
disconnect()Unsubscribe from all dependent observables of the binding.
observe(source, context)Begins observing the binding for the source and returns the current value.
records()Gets ObservationRecords that the BindingObserver is observing.