Drag Event

Hi Guys, this is my code for drag event in enyojs. it is working but i want to make visible the item which will be drag.Please help me on this.
Thanks in advance.


enyo.ready(function() {
enyo.kind({
kind: "FittableRows",
classes: "enyo-fit enyo-unselectable",
name: "AppDrag",

components: [

{name:"dfgv", content:"dfgdfg"}
],
create: function(inSender, inEvent){
this.inherited(arguments);
},
handlers: {
ondragstart: "dragStart"
},
dragStart:function(inSender, inEvent){
alert(1);
}

});



new enyo.Application({view: "AppDrag"});
});
Sign In or Register to comment.