Skip to content

Latest commit

 

History

History
30 lines (28 loc) · 1.52 KB

Bindable.md

File metadata and controls

30 lines (28 loc) · 1.52 KB
nav-title title description
Class ui/core/bindable.Bindable
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.

Instance Properties
  • 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.
Instance Functions
  • 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.
  • unbind( property String )
    Removes the existing binding (if any) for the specified property.
    • property - String
      The name of the property to unbind.
  • _updateTwoWayBinding( propertyName String, value Object )
    • propertyName - String
    • value - Object
  • _onBindingContextChanged( oldValue Object, newValue Object )
    • oldValue - Object
    • newValue - Object