Compartilhar via


ListView.onitemdragend event

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

Synchronous No
Bubbles Yes
Cancelable Yes

 

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