Skip to main content

@microsoft/fast-element > HTMLBindingDirective > createBehavior

HTMLBindingDirective.createBehavior() method

Creates the runtime BindingBehavior instance based on the configuration information stored in the BindingDirective.

Signature:
createBehavior(target: Node): BindingBehavior;

Parameters

ParameterTypeDescription
targetNodeThe target node that the binding behavior should attach to.
Returns:

BindingBehavior