Skip to content

Instantly share code, notes, and snippets.

@edkf
Last active January 9, 2018 23:35
Show Gist options
  • Save edkf/a8641d65d36403b5d8b5c1fc04b42551 to your computer and use it in GitHub Desktop.
Save edkf/a8641d65d36403b5d8b5c1fc04b42551 to your computer and use it in GitHub Desktop.
#tap event
coinRow.onTap ->
selectedRow = this
# Create an Animation
heroSize = new Animation selectedRow,
# change the scroll position to the top of the screen
y: list.scrollY
# Increase the size of the selectedRow to 250
height: 250
# Call this function when needed
heroSize.start()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment