.png)
Provides a standard implementation of the bindable contract, as well as a basic storage mechanism that participates in change notification and an asynchronous notification implementation.
Syntax
WinJS.Class.mix(BindableObject, mixin);
Members
The mixin object has these types of members:
- Methods
Methods
The mixin object has these methods.
| Method | Description |
|---|---|
| addProperty | Adds a property to the object. The property includes change notification and an ECMAScript 5 property definition . |
| bind | Links the specified action to the property specified in the name parameter. |
| getProperty | Gets a property value by name. |
| notify | Notifies listeners that a property value was updated. |
| removeProperty | Removes a property value. |
| setProperty | Updates a property value and notifies any listeners. |
| unbind | Removes one or more listeners from the notification list for a given property. |
| updateProperty | Updates a property value and notifies any listeners. |
Remarks
For more information about how to use binding mixins, see How to bind a complex object.
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.Binding |