Skip to main content

@microsoft/fast-element > Behavior > bind

Behavior.bind() method

Bind this behavior to the source.

Signature:
bind(source: unknown, context: ExecutionContext): void;

Parameters

ParameterTypeDescription
sourceunknownThe source to bind to.
contextExecutionContextThe execution context that the binding is operating within.
Returns:

void