Allows you to add bindable properties dynamically.
Adds a property with change notification to this object, including a ECMAScript5 property definition.
Links the specified action to the property specified in the name parameter. This function is invoked when the value of the property may have changed. It is not guaranteed that the action will be called only when a value has actually changed, nor is it guaranteed that the action will be called for every value change. The implementation of this function coalesces change notifications, such that multiple updates to a property value may result in only a single call to the specified action.
Function
This object is returned.
Gets a property value by name.
any
The value of the property as an observable object.
Notifies listeners that a property value was updated.
A promise that is completed when the notifications are complete.
Removes a property value.
any
This object is returned.
Updates a property value and notifies any listeners.
any
This object is returned.
Removes one or more listeners from the notification list for a given property.
any
This object is returned.
Updates a property value and notifies any listeners.
A promise that completes when the notifications for this property change have been processed. If multiple notifications are coalesced, the promise may be canceled or the value of the promise may be updated. The fulfilled value of the promise is the new value of the property for which the notifications have been completed.
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.
Adds a property to the object. The property includes change notification and an ECMAScript 5 property definition .
any
This object is returned.
Links the specified action to the property specified in the name parameter. This function is invoked when the value of the property may have changed. It is not guaranteed that the action will be called only when a value has actually changed, nor is it guaranteed that the action will be called for every value change. The implementation of this function coalesces change notifications, such that multiple updates to a property value may result in only a single call to the specified action.
Function
This object is returned.
Gets a property value by name.
any
The value of the property as an observable object.
Notifies listeners that a property value was updated.
A promise that is completed when the notifications are complete.
Removes a property value.
any
This object is returned.
Updates a property value and notifies any listeners.
any
This object is returned.
Removes one or more listeners from the notification list for a given property.
any
This object is returned.
Updates a property value and notifies any listeners.
A promise that completes when the notifications for this property change have been processed. If multiple notifications are coalesced, the promise may be canceled or the value of the promise may be updated. The fulfilled value of the promise is the new value of the property for which the notifications have been completed.
Provides functions that can make an object observable.
Links the specified action to the property specified in the name parameter. This function is invoked when the value of the property may have changed. It is not guaranteed that the action will be called only when a value has actually changed, nor is it guaranteed that the action will be called for every value change. The implementation of this function coalesces change notifications, such that multiple updates to a property value may result in only a single call to the specified action.
any
A reference to this observableMixin object.
Notifies listeners that a property value was updated.
A promise that is completed when the notifications are complete.
Removes one or more listeners from the notification list for a given property.
any
This object is returned.
Determines whether or not binding should automatically set the ID of an element. This property should be set to true in apps that use WinJS (WinJS) binding.
Adds a CSS class from the specified path of the source object to a destination object.
The source object that has the class to copy.
The path on the source object to the source class.
The destination object.
Returns an observable object. This may be an observable proxy for the specified object, an existing proxy, or the specified object itself if it directly supports observation.
The object to observe.
U
The observable object.
Binds to one or more properties on the observable object or or on child values of that object.
The object to bind to.
An object literal containing the binding declarations. Binding declarations take the form: { propertyName: (function | bindingDeclaration), ... }.
any
An object that contains at least a "cancel" field, which is a function that removes all bindings associated with this bind request.
Creates a default binding initializer for binding between a source property and a destination property with the specified converter function that is executed on the value of the source property.
The conversion function that takes the source property and produces a value that is set to the destination property. This function must be accessible from the global namespace.
Function
The binding initializer.
Creates a one-way binding between the source object and the destination object. Warning Do not attempt to bind data to the ID of an HTML element.
The source object.
The path on the source object to the source property.
The destination object.
The path on the destination object to the destination property.
any
An object with a cancel method that is used to coalesce bindings.
Creates a new constructor function that supports observability with the specified set of properties.
The object to use as the pattern for defining the set of properties.
Function
A constructor function with 1 optional argument that is the initial state of the properties.
Wraps the specified object so that all its properties are instrumented for binding. This is meant to be used in conjunction with the binding mixin.
The specification for the bindable object.
any
An object with a set of properties all of which are wired for binding.
Marks a custom initializer function as being compatible with declarative data binding.
The custom initializer to be marked as compatible with declarative data binding.
Function
The input customInitializer.
Notifies listeners that a property value was updated.
The name of the property that is being updated.
The new value for the property.
The old value for the property.
A promise that is completed when the notifications are complete.
Sets the destination property to the value of the source property.
The source object.
The path on the source object to the source property.
The destination object.
The path on the destination object to the destination property.
any
An object with a cancel method that is used to coalesce bindings.
Binds the values of an object to the values of a DOM element that has the data-win-bind attribute. If multiple DOM elements are to be bound, you must set the attribute on all of them. See the example below for details.
Optional. The element at which to start traversing to find elements to bind to. If this parameter is omitted, the entire document is searched.
The object that contains the values to which the DOM element should be bound.
If true, specifies that only the children of rootElement should be bound, otherwise rootElement should be bound as well.
The cached binding data.
The binding initializer to use in the case that one is not specified in a binding expression. If not provided, the behavior is the same as Binding.defaultBind.
A Promise that completes when every item that contains the data-win-bind attribute has been processed and the update has started.
Creates a one-way binding between the source object and an attribute on the destination element.
The source object.
The path on the source object to the source property.
The destination object.
The path on the destination object to the destination property. This must be a single name.
any
An object with a cancel() method that is used to coalesce bindings.
Sets an attribute on the destination element to the value of the source property.
The source object.
The path on the source object to the source property.
The destination object.
The path on the destination object to the destination property. This must be a single name.
Returns the original (non-observable) object is returned if the specified object is an observable proxy,
The object for which to retrieve the original value.
any
If the specified object is an observable proxy, the original object is returned, otherwise the same object is returned.