Created
October 17, 2013 12:05
-
-
Save koenbok/7023725 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
myView = new View x:50, y:100, width:150, height:150 | |
myView.style.backgroundColor = "red" | |
myView.html = "HELLO" | |
draggable = new ui.Draggable myView | |
myView.on Events.DragStart, -> console.log "myView", Events.DragStart | |
myView.on Events.DragMove, -> console.log "myView", Events.DragMove | |
myView.on Events.DragEnd, -> console.log "myView", Events.DragEnd | |
draggable.on Events.DragStart, -> console.log "draggable", Events.DragStart | |
draggable.on Events.DragMove, -> console.log "draggable", Events.DragMove | |
draggable.on Events.DragEnd, -> console.log "draggable", Events.DragEnd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How do I remove draggable ?