@microsoft/fast-element > BindingBehavior

BindingBehavior class

A behavior that updates content and attributes based on a configured BindingDirective.

Signature:
export declare class BindingBehavior implements Behavior

Constructors

ConstructorModifiersDescription
(constructor)(target, binding, isBindingVolatile, bind, unbind, updateTarget, targetName)Creates an instance of BindingBehavior.

Properties

PropertyModifiersTypeDescription
bindtypeof normalBindBind this behavior to the source.
unbindtypeof normalUnbindUnbinds this behavior from the source.