HTMLView.bind() method
@microsoft/fast-element > HTMLView > bind
HTMLView.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) The execution context to run the behaviors within. |
Returns:
void