We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
// setTouchClickEvent.js module.exports = function(target, handler, option) { var $target = $(target); var eventList = ['mouseup', 'touchend']; var selector, namespace, events; option = option || {}; selector = option.selector || null; namespace = option.namespace || ''; if (namespace) { eventList = snippet.map(eventList, function(eventName) { return eventName + '.' + namespace; }); } events = eventList.join(' '); $target.on(events, selector, function onceHandler(ev) { var newEventName = ev.type + '.' + namespace; handler(ev); $target.off(events, selector, onceHandler) .on(newEventName, selector, handler); }); };
When click the input box on your mobile browser, click and touchend event occur concurrently
The text was updated successfully, but these errors were encountered:
fix: Select events by using mobile(#26) (#27)
fd60cd8
* fix: Select events by using mobile * chore: add comment to private method * chore: apply review
No branches or pull requests
Version
Development Environment
Current Behavior
When click the input box on your mobile browser, click and touchend event occur concurrently
Expected Behavior
The text was updated successfully, but these errors were encountered: