nav-title | title | description |
---|---|---|
Class ui/core/bindable.Bindable |
Class ui/core/bindable.Bindable |
Class ui/core/bindable.Bindable |
Inherits: DependencyObservable
Represents an extended DependencyObservable object that supports data-binding.
- bindingContext - Object.
Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified.
- bind( options BindingOptions, source? Object )
Establishes a binding between the source object and this Bindable instance.- options - BindingOptions
The options for the binding. - source - (optional) - Object
An optional parameter, specifying the source object to bind to. If no source is specified the bindingContext value (if any) will be used as a source.
- options - BindingOptions
- unbind( property String )
Removes the existing binding (if any) for the specified property.- property - String
The name of the property to unbind.
- property - String
- _updateTwoWayBinding( propertyName String, value Object )
- propertyName - String
- value - Object
- _onBindingContextChanged( oldValue Object, newValue Object )
- oldValue - Object
- newValue - Object