Polymer Swipe Animation

374 views
Skip to first unread message

Ganesh Baniya

unread,
Jul 9, 2015, 9:39:06 AM7/9/15
to polym...@googlegroups.com
Hi All,

I've spent one morning trying to figure out how to implement swipe event (swipe left and right) to my hello world project. Still haven't made much progress.

Can anyone tell me which other online resources I can use apart from the below link?

My question is, does Polymer have it's library for swipe events? If not, what other java-script libraries are recommended for use?

Thank in advance. 

Kind Regards,
G



Eric Bidelman

unread,
Jul 14, 2015, 3:19:10 AM7/14/15
to Ganesh Baniya, polym...@googlegroups.com
Hey Ganesh,

I created a swipeable-item behavior for the 1.0 port of Polymer mail. It still needs some cleanup and work, but you can get a basic idea of how something like this could be added to an element.


Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/141955d6-431d-4b1d-a00b-558dce3d6122%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ganesh Baniya

unread,
Jul 14, 2015, 4:42:58 AM7/14/15
to polym...@googlegroups.com, gawn...@googlemail.com
Thanks Eric. After not having much luck with Polymer, I started using Hammer.js. It does the job so well. Effortless and minimum lines of codes. It recognises pan, pinch, press, rotate, swipe, tap; all the gestures that you would need for a touch device. 

piete...@vandormael.eu

unread,
Jul 15, 2015, 4:08:40 PM7/15/15
to polym...@googlegroups.com
Hi Eric, thanks, I'll gladly use your code, with Polymer of course ;-)

Op dinsdag 14 juli 2015 10:42:58 UTC+2 schreef Ganesh Baniya:
Reply all
Reply to author
Forward
0 new messages