@microsoft/fast-element > ContentView > bind

ContentView.bind() method

Binds a view's behaviors to its binding source.

Signature:

bind(source: any, context?: ExecutionContext): void;

Parameters

Parameter

Type

Description

source

any

The binding source for the view's binding behaviors.

context

ExecutionContext

(Optional) The execution context to run the view within.

Returns:

void