IListNotificationHandler interface
TOC
Collapse the table of content
Expand the table of content

WinJS.UI.IListNotificationHandler interface

Applies to Windows and Windows Phone

Used by an IListBinding to provide change notifications when items in a IListDataSource change.

Members

The IListNotificationHandler interface has these types of members:

Methods

The IListNotificationHandler interface has these methods.

MethodDescription
beginNotifications

Indicates the start of a notification batch. Objects that are listening for notifications should defer making updates until endNotifications is called.

changed Method

Indicates that an item changed.

countChanged

Indicates that the number of items in the IListDataSource has changed.

endNotifications

Indicates the end of a notification batch. When the beginNotifications method is called, objects listening for notifications should defer making updates until endNotifications is called.

indexChanged Method

Indicates that the index of an item changed.

inserted Method

Indicates that an item was added to the IListDataSource.

itemAvailable

Indicates that an IItemPromise was fulfilled and that the item is now available.

moved Method

Indicates that an item was moved.

removed Method

Indicates that an item was removed.

 

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

 

 

Show:
© 2016 Microsoft