Share via


WinJS.UI.IListDataNotificationHandler interface

Notifies clients when an IListDataAdapter object's data changes.

Members

The IListDataNotificationHandler interface has these types of members:

  • Methods

Methods

The IListDataNotificationHandler interface has these methods.

Method Description
beginNotifications

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

changed

Raises a notification that an item in the IListDataAdapter object's data source 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.

inserted

Raises a notification that an item has been added to the IListDataAdapter object's data source.

invalidateAll

Indicates that all previous data obtained from the IListDataAdapter is invalid and should be refreshed.

moved

Raises a notification that an item was moved within the IListDataAdapter object's data source.

reload

Reloads data from the IListDataAdapter.

removed

Raises a notification that an item was removed from the IListDataAdapter object's data source.

 

Remarks

To provide notifications, pass an object that implements this interface to an IListDataAdapter object's setNotificationHandler method.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI