constructor(path: string): Binding
Initializes a new instance of the Binding class.
Name of the property to bind to.
Gets or sets the path for the binding.
In the simplest case, the path is the name of the property of the source object to use for the binding (e.g. 'street').
Sub-properties of a property can be specified by a syntax similar to that used in JavaScript (e.g. 'address.street').
getValue(object: any): any
Gets the binding value for a given object.
If the object does not contain the property specified by the binding path, the method returns null.
The object that contains the data to be retrieved.
setValue(object: any, value: any): void
Sets the binding value on a given object.
If the object does not contain the property specified by the binding path, the value is not set.
The object that contains the data to be set.
Data value to set.
Provides binding to complex properties (e.g. 'customer.address.city')