Skip to content

Errors in vmousedown documentation #303

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

Closed
teo1978 opened this issue Apr 28, 2014 · 1 comment
Closed

Errors in vmousedown documentation #303

teo1978 opened this issue Apr 28, 2014 · 1 comment

Comments

@teo1978
Copy link

teo1978 commented Apr 28, 2014

At http://api.jquerymobile.com/vmousedown/ there are at least two errors:

  1. In this sentence, "vmousedown" and "vmouseup" are swapped:
    "In touch environments, the plugin retains the order of event firing that is seen in traditional mouse environments, so for example, vmouseup is always dispatched before vmousedown, and vmousedown before vclick, etc."

  2. This sentence doesn't make sense:
    "This plugin extends jQuery's built-in method. If jQuery UI is not loaded, calling the .vmousedown() method may not fail directly, as the method still exists. However, the expected behavior will not occur."
    unless you mean "jQuery" instead of "jQuery UI".

@arschmitz
Copy link
Member

@matteosistisette thank you for reporting this on 1 you are correct. On 2 it should actually be jQuery Mobile instead of UI because on will allow you to pass any event name you want with out error it will just never get triggered unless jQuery Mobile is present to trigger the event. we should fix both of these and maybe clarify what we mean with 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants