Skip to main content
onitemmutated event

Applies to Windows and Windows Phone

An item has been mutated. This event occurs as a result of calling the notifyMutated method.

Syntax


function handler(eventInfo) { /* Your code */ }
 
// addEventListener syntax
.addEventListener("itemmutated", handler);
.removeEventListener("itemmutated", handler);
 
- or -

.onitemmutated = handler;

Event handler parameters

eventInfo

Type: CustomEvent

An object that contains information about the event. The detail contains the following information:

  • index: the index of the item in the list

  • key: the value used as the key in the getItemFromKey and indexOfKey methods

  • value: the item

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.Binding

Library

Base.js