Preview 2.0 is now in Public Beta!
Read the Announcement
Binding

Summary

Constructors

constructor

new Binding(target: ViewBase, options: BindingOptions): Binding
Parameter Default Description
target

options

Returns Binding

Properties

_getExpressionValue

Private
_getExpressionValue: any

addPropertyChangeListeners

Private
addPropertyChangeListeners: any

bindingContextChanged

Private
bindingContextChanged: any

getParentView

Private

getSourcePropertyValue

Private
getSourcePropertyValue: any

onTargetPropertyChanged

Private
onTargetPropertyChanged: any

prepareContextForExpression

Private
prepareContextForExpression: any

prepareExpressionForUpdate

Private
prepareExpressionForUpdate: any

propertyChangeListeners

Private
propertyChangeListeners: any

resolveObjectsAndProperties

Private
resolveObjectsAndProperties: any

resolveOptions

Private

source

Private

sourceAsObject

Private

sourceIsBindingContext

sourceIsBindingContext: boolean

sourceOptions

Private

sourceProperties

Private

targetOptions

Private

update

Private

updateOptions

Private

updateSource

Private

updateTarget

Private

updateTwoWay

Private

updating

Methods

bind

bind(source: any): void
Parameter Default Description
source
any

Returns void

clearBinding

clearBinding(): void

clearSource

clearSource(): void

loadedHandlerVisualTreeBinding

loadedHandlerVisualTreeBinding(args: any): void
Parameter Default Description
args
any

Returns void

onSourcePropertyChanged

onSourcePropertyChanged(data: PropertyChangeData): void
Parameter Default Description
data

Returns void

unbind

unbind(): void
Previous
Background