WinJS.Binding.observableMixin object

This topic has not yet been rated - Rate this topic

Provides functions that can make an object observable.

Syntax


var object = new WinJS.Binding.observableMixin();

Members

The observableMixin object has these types of members:

Methods

The observableMixin object has these methods.

MethodDescription
bind

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.

notify

Notifies listeners that a property value was updated.

unbind

Removes one or more listeners from the notification list for a given property.

 

Requirements

Namespace

WinJS.Binding

Library

Base.js

 

 

Build date: 12/5/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.