Share via


ListView.onitemdragleave event

Raised when a draggable item leaves the bounds of a ListView control.

Syntax

<div 
    data-win-control="WinJS.UI.ListView" 
    data-win-options="{onitemdragleave : handler}">
</div>
function handler(eventInfo) { /* Your code */ }
 
// addEventListener syntax
listView.addEventListener("itemdragleave", handler);
listView.removeEventListener("itemdragleave", 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