What is the jquery mobile event for when the user holds down a button? -
i have popup want create transparent when , long user presses , holds button. , when release, i'd popup become opaque again. events should capturing this?
currently, i'm using vmousedown , vmouseup events. work, 1 time in awhile, when press , allow go of button, vmouseup event seems fired. when allow go, popup remains transparent.
i've experienced on chrome on iphone, never on desktop.
first, using event? or improve (like tap vs click) in mobile world? if using right events, thought why have odd behavior on mobile?
try $("...").on("taphold", function (event) {...}); event binding.
events jquery-mobile ontouchevent
No comments:
Post a Comment