Skip to main content

@microsoft/fast-element > BindingObserver > observe

BindingObserver.observe() method

Begins observing the binding for the source and returns the current value.

Signature:
observe(source: TSource, context: ExecutionContext<TParent>): TReturn;

Parameters

ParameterTypeDescription
sourceTSourceThe source that the binding is based on.
contextExecutionContext<TParent>The execution context to execute the binding within.
Returns:

TReturn

The value of the binding.