The Context is available in conversion functions.

Hierarchy

  • Context

Properties

source: Bindable<PropertyName>

The source bindable.

sourceName: PropertyName

The property name on the source side (for single source property).

sourceNames: readonly PropertyName[]

The property names on the source side (for multiple source properties).

target: Bindable<PropertyName>

The target bindable.

targetName: PropertyName

The property name on the target side (for single source property).

targetNames: readonly PropertyName[]

The property names on the target side (for multiple source properties).

Methods

  • execute and return for avoiding mutation

    Returns void

  • The new property value. Provided if single source property.

    Returns any

  • The new property values. Provided if multiple source properties.

    Returns any[]

  • The old property value. Provided if single source property.

    Returns any

  • The old property values. Provided if multiple source properties.

    Returns any[]

  • Wraps a promise to signal that it should be handled as plain value.

    Type Parameters

    • T

    Parameters

    • candidate: PromiseLike<T>

      a promise.

    Returns any

    a wrapper for the promise.

  • The current property value on the target side. Provided if single source property.

    Returns any

  • The current property values on the target side. Provided if multiple source properties.

    Returns any

Generated using TypeDoc