IListDataSource.createListBinding method

Creates an IListBinding that can retrieve items from the IListDataSource, enumerate the contents of the IListDataSource object's data, and optionally register for change notifications.
Syntax
var iListBinding = iListDataSource.createListBinding(notificationHandler);
Parameters
- notificationHandler [optional]
-
Type: IListNotificationHandler
Enables the IListBinding to register for change notifications for individual items obtained from the IListDataSource. If you omit this parameter, change notifications won't be available.
Return value
Type: IListBinding
The new IListBinding.
Requirements
|
Minimum WinJS version |
WinJS 3.0 |
|---|---|
|
Namespace |
WinJS.UI |
See also