onitemdragend event
Collapse the table of content
Expand the table of content

ListView.onitemdragend event

Applies to Windows only

Raised when the user drops an item dragged from a ListView.

Syntax


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


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


Event information

SynchronousNo
BubblesYes
CancelableYes

 

Event handler parameters

eventInfo

Type: CustomEvent

An object that contains info about the event.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ListView

 

 

Show:
© 2017 Microsoft