@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