Created
January 7, 2016 11:10
-
-
Save somebee/955ce5dcb4c90eb76e1c to your computer and use it in GitHub Desktop.
basic draggable
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
tag draggable | |
def render | |
<self> 'I am draggable' | |
def ontouchstart t | |
self | |
def ontouchmove t | |
css left: t.x, top: t.y | |
<draggable> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment