次の方法で共有


WinJS.UI.IListNotificationHandler interface

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

Members

The IListNotificationHandler interface has these types of members:

  • Methods

Methods

The IListNotificationHandler 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 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