Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Binding

Hierarchy

  • Binding

Index

Constructors

constructor

Properties

options

options: BindingOptions

Private propertyChangeListeners

propertyChangeListeners: Map<string, Observable>

Private source

source: WeakRef<Object>

sourceIsBindingContext

sourceIsBindingContext: boolean

Private sourceOptions

sourceOptions: object

Type declaration

  • instance: WeakRef<any>
  • property: string

Private sourceProperties

sourceProperties: string[]

target

target: WeakRef<ViewBase>

Private targetOptions

targetOptions: object

Type declaration

  • instance: WeakRef<Object>
  • property: string

updating

updating: boolean

Methods

Private _getExpressionValue

  • _getExpressionValue(expression: string, isBackConvert: boolean, changedModel: any): any

Private addPropertyChangeListeners

  • addPropertyChangeListeners(source: WeakRef<Object>, sourceProperty: string[], parentProperies?: string): void
  • Parameters

    • source: WeakRef<Object>
    • sourceProperty: string[]
    • Optional parentProperies: string

    Returns void

bind

  • bind(source: any): void

Private bindingContextChanged

clearBinding

  • clearBinding(): void

clearSource

  • clearSource(): void

Private getParentView

  • getParentView(target: any, property: string): object

Private getSourcePropertyValue

  • getSourcePropertyValue(): any

loadedHandlerVisualTreeBinding

  • loadedHandlerVisualTreeBinding(args: any): void

onSourcePropertyChanged

Private onTargetPropertyChanged

Private prepareContextForExpression

  • prepareContextForExpression(model: Object, expression: string, newProps: string[]): void

Private prepareExpressionForUpdate

  • prepareExpressionForUpdate(): string

Private resolveObjectsAndProperties

  • resolveObjectsAndProperties(source: Object, properties: string[]): object[]

Private resolveOptions

  • resolveOptions(obj: Object, properties: string[]): object

Private sourceAsObject

  • sourceAsObject(source: any): any

unbind

  • unbind(): void

Private update

  • update(source: any): void

Private updateOptions

  • updateOptions(options: object, value: any): void

Private updateSource

  • updateSource(value: any): void

Private updateTarget

  • updateTarget(value: any): void

Private updateTwoWay

  • updateTwoWay(value: any): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method