@microsoft/fast-element > BindingBehavior > (constructor)
BindingBehavior.(constructor)
Creates an instance of BindingBehavior.
Signature:constructor(target: any, binding: Binding, isBindingVolatile: boolean, bind: typeof normalBind, unbind: typeof normalUnbind, updateTarget: typeof updatePropertyTarget, targetName?: string);
Parameters
Parameter | Type | Description |
---|---|---|
target | any | The target of the data updates. |
binding | Binding | The binding that returns the latest value for an update. |
isBindingVolatile | boolean | Indicates whether the binding has volatile dependencies. |
bind | typeof normalBind | The operation to perform during binding. |
unbind | typeof normalUnbind | The operation to perform during unbinding. |
updateTarget | typeof updatePropertyTarget | The operation to perform when updating. |
targetName | string | The name of the target attribute or property to update. |