Skip to main content
Version: 2.x

ExpressionObserver.bind() method

@microsoft/fast-element > ExpressionObserver > bind

ExpressionObserver.bind() method

Binds the expression to the source.

Signature:

bind(controller: ExpressionController<TSource, TParent>): TReturn;

Parameters

Parameter

Type

Description

controller

ExpressionController<TSource, TParent>

The controller that manages the lifecycle and related context for the expression.

Returns:

TReturn