Gets or sets the ListItem instance that can be dropped.
Namespace: MindFusion.Common.UI
File: ListContainer.js
The following code creates a ListView, adds a ListItem to it and sests it as a value of the acceptDrop property:
JavaScript Copy Code |
---|
listView = new ui.ListView(document.getElementById("listView"));
listView.items.add(item); |