onitemdragleave event
Collapse the table of content
Expand the table of content

ListView.onitemdragleave event

Applies to Windows only

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

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