List.onitemmutated event

0 out of 1 rated this helpful - Rate this topic

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

Syntax


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

list.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

Namespace

WinJS.Binding

Library

Base.js

See also

List

 

 

Build date: 12/5/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.