Connects the properties of two objects so that whenever the value of one property changes,
the other property will be changed also.
Constructor methods
constructor(toPath: string, fromPath: string): Binding
Parameters
-
toPath: string
-
fromPath: string
Returns
Binding
Methods
public connect(obj: any): Binding
Parameters
Returns
Binding
public copy(): Binding
Returns
Binding
public disconnect(obj: any): Binding
Parameters
Returns
Binding
public from(path: string): Binding
Parameters
Returns
Binding
public static oneWay(from: string, flag?: boolean): Binding
Parameters
-
from: string
-
flag?: boolean optional
Returns
Binding
public to(path: string): Binding
Parameters
Returns
Binding
public to(pathTuple: Array<any>): Binding
Parameters
Returns
Binding
public toString(): string
Returns
string