Function compositeBinding

  • Creates a new composite property binding info object with the given parts and formatter.

    Type Parameters

    Parameters

    • parts: P

      The source bindings.

    • formatter: ((...values) => T)

      Function to convert source data into a property value.

        • (...values): T
        • Parameters

          • Rest ...values: {
                [K in string | number | symbol]: P[K] extends TypedPropertyBindingInfo<T>
                    ? T
                    : never
            }
            Rest

          Returns T

    • Optional opts: Omit<PropertyBindingInfo, "path" | "value" | "parts" | "model">

      The binding options.

      Optional

    Returns TypedPropertyBindingInfo<T>

Generated using TypeDoc