Class Binding

Connects the properties of two objects so that whenever the value of one property changes, the other property will be changed also.

Hierarchy

Index

Constructor methods

Methods

Constructor methods

constructor(toPath: string, fromPath: string): Binding

Parameters

  • toPath: string
  • fromPath: string

Returns

Binding

Methods

public connect(obj: any): Binding

Parameters

  • obj: any

Returns

Binding

public copy(): Binding

Returns

Binding

public disconnect(obj: any): Binding

Parameters

  • obj: any

Returns

Binding

public from(path: string): Binding

Parameters

  • path: string

Returns

Binding

public to(path: string): Binding

Parameters

  • path: string

Returns

Binding

public to(pathTuple: Array<any>): Binding

Parameters

  • pathTuple: Array<any>

Returns

Binding

public toString(): string

Returns

string