@microsoft/fast-element > ExpressionNotifier

ExpressionNotifier interface

Enables evaluation of and subscription to a binding.

Signature:

export interface ExpressionNotifier<TSource = any, TReturn = any, TParent = any> extends Notifier, ExpressionObserver<TSource, TReturn, TParent>, Disposable 

Extends: Notifier, ExpressionObserver<TSource, TReturn, TParent>, Disposable

Methods

Method

Description

observe(source, context)

Observes the expression.

records()

Gets ObservationRecords that the ExpressionNotifier is observing.

setMode(isAsync)

Sets the update mode used by the observer.