Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tap has no tapStart event? #68

Closed
gritd opened this issue Jun 9, 2013 · 2 comments
Closed

tap has no tapStart event? #68

gritd opened this issue Jun 9, 2013 · 2 comments

Comments

@gritd
Copy link

gritd commented Jun 9, 2013

I'm trying to tap a box and start an animation on mouseDown so to speak but pressing it does not start the animation, only when I release it, the tap command starts working.

Maybe I'm using it wrong and sure; I'd expect a delay because you want to detect if there's a short or long tap. But isn't there (or shouldn't there) be a sort of a tapStart() event to be handled somewhere?

@soyjavi
Copy link
Owner

soyjavi commented Jun 9, 2013

Use touchstart event

El domingo, 9 de junio de 2013, Gerrit Dijkstra escribió:

I'm trying to tap a box and start an animation on mouseDown so to speak
but pressing it does not start the animation, only when I release it, the
tap command starts working.

Maybe I'm using it wrong and sure; I'd expect a delay because you want to
detect if there's a short or long tap. But isn't there (or shouldn't there)
be a sort of a tapStart() event to be handled somewhere?


Reply to this email directly or view it on GitHubhttps://github.com//issues/68
.

@gritd
Copy link
Author

gritd commented Jun 10, 2013

Thanks Soyavi, I noticed I could split touchstart and touchend for the presses with $$('xx').on('touchstart'... indeed
I also noticed this is not very fast... no offense to quo though; I even added the handlers directly in safari but there's still a noticeable lag...

@gritd gritd closed this as completed Jun 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants