TiDraggable - Native Draggable Views
An enhanced fork of the original TiDraggable module by Pedro Enrique, allows for simple creation of "draggable" views.
In your tiapp.xml
file add the following to the modules
node:
<module version="2.0.0">ti.draggable<module>
var Draggable = require('ti.draggable'),
mainWindow = Ti.UI.createWindow({
backgroundColor : 'white'
}),
draggableView = Draggable.createView({
width : 100,
height : 100,
backgroundColor : 'black'
});
mainWindow.add(draggableView);
mainWindow.open();
The work is largely based on Pedro Enrique's TiDraggable module license under the MIT (V2) license.