API Docs for:
Show:

BindingRatioConversionDescriptor Class

Describes ratio-conversion for a data-binding. The ratio-conversion uses the following formula:

BindingDescriptor.targetField = (target - targetSize) / (BindingDescriptor.sourceField - sourceSize) * (BindingDescriptor.sourceField - valueOffset) + offset

Properties

offset

Number

A binding-expression to define an offset-value.

source

String

A binding-expression to define the source-operand. The source-operand is divided through the target-operand.

sourceSize

Number

A binding-expression to define a sourceSize operand subtracted from source-value.

target

String

A binding-expression to define the target-operand. The source-operand is divided through the target-operand.

targetSize

Number

A binding-expression to define a targetSize operand subtracted from target-value.

valueOffset

Number

A binding-expression to define an offset subtracted from the value.