Compartilhar via


ListNotificationHandler.inserted method

Indicates that an item was added to the IListDataSource.

Syntax

listNotificationHandler.inserted(itemPromise, previousHandle, nextHandle);

Parameters

  • itemPromise
    Type: IItemPromise**

    A promise for the new IItem.

  • previousHandle
    Type: String

    The temporary ID of the item that precedes the new item.

  • nextHandle
    Type: String

    The temporary ID of the item that follows the new item.

Return value

This method does not return a value.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ListNotificationHandler