onitemdragchanged event
Collapse the table of content
Expand the table of content

ListView.onitemdragchanged event

Applies to Windows only

Raised when the user is dragging an item from the ListView and the itemDataSource changes while the user is dragging.

Syntax


<div 
    data-win-control="WinJS.UI.ListView" 
    data-win-options="{onitemdragchanged : handler}">
</div>


function handler(eventInfo) { /* Your code */ }
 
// addEventListener syntax
listView.addEventListener("itemdragchanged", handler);
listView.removeEventListener("itemdragchanged", handler);


Event information

SynchronousNo
BubblesYes
CancelableYes

 

Event handler parameters

eventInfo

Type: CustomEvent

An object that contains info about the event. The detail property of this object contains additional info about the event.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ListView

 

 

Show:
© 2017 Microsoft