IListDataSource.change method

Overwrites the data of the specified item.
Syntax
iListDataSource.change(key, newData).done( /* Your success and error handlers */ );
Parameters
- key
-
Type: String
The key for the item to replace.
- newData
-
Type: Object
The new data for the item.
Return value
Type: Promise
A Promise that contains the IItem that was updated or an EditError if an error was encountered.
Requirements
|
Minimum WinJS version |
WinJS 3.0 |
|---|---|
|
Namespace |
WinJS.UI |
See also
Show: