Skip to main content
Version: 2.x

View.bind() method

@microsoft/fast-element > View > bind

View.bind() method

Binds a view's behaviors to its binding source.

Signature:

bind(source: TSource, context?: ExecutionContext<TParent>): void;

Parameters

Parameter

Type

Description

source

TSource

The binding source for the view's binding behaviors.

context

ExecutionContext<TParent>

(Optional)

Returns:

void