Class: DataBingItem

Kekule. DataBingItem

new DataBingItem(source, target, sourceName, targetName)

A binding item between objects.
Parameters:
Name Type Description
source ObjectEx Source object to retrieve data.
target ObjectEx Target object to affect by data.
sourceName String Appoint how to retrieve data from source, usually a property name.
targetName String Appoint how to set data to target, usually a property name.
Properties:
Name Type Description
source ObjectEx Source object to retrieve data.
target ObjectEx Target object to affect by data.
sourceName String Appoint how to retrieve data from source, usually a property name.
targetName String Appoint how to set data to target, usually a property name.
Source:

Extends

  • ObjectEx

Methods

updateData(reverseDirection)

Retrieve data from source and feed to target, or from target to source if reverseDirection is true.
Parameters:
Name Type Description
reverseDirection Bool
Source:

Kekule. DataBingItem