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

detect how long touching an element #110

Open
nliapis opened this issue Jul 30, 2013 · 2 comments
Open

detect how long touching an element #110

nliapis opened this issue Jul 30, 2013 · 2 comments

Comments

@nliapis
Copy link

nliapis commented Jul 30, 2013

Hello, i am a newbie in jquery and i am working in a project. I use jquery-ui-touch-punch for ipad and i would like to ask if there is any way to detect how long the person touches the element and only begin the movement when its past a certain time. Is this possible?

@albertobuffagni
Copy link

I think that should set the 'delay' property of draggable function on jquery UI. go to http://api.jqueryui.com/draggable/#option-delay

@jayagl
Copy link

jayagl commented Aug 24, 2017

For anyone who ends up here looking for a solution - I've created a pull request which implements this using a global touchPunchDelay property

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

3 participants