1

In the jQM documentation about virtual events, there is a phrase that is not clear to me:

This plugin extends jQuery's built-in method. If jQuery UI is not loaded, calling the .vclick() method may not fail directly, as the method still exists. However, the expected behavior will not occur."

http://api.jquerymobile.com/vclick/

Is this a typo, or is jQuery UI a requirement for using those virtual events?

Omar
  • 32,302
  • 9
  • 69
  • 112
Matthieu
  • 563
  • 1
  • 7
  • 25

1 Answers1

0

The phrase:

"This plugin extends jQuery's built-in method. If jQuery UI is not loaded, calling the .vclick() method may not fail directly, as the method still exists. However, the expected behavior will not occur."

Indicates that whenever you call the .vclick() method without having the JQuery UI available it won't give an error or fail as the method .vclick() exists, but the required components aren't available, and thus the expected behaviour of .vclick() won't occur.

TL;DR: JQuery UI is required to use .vclick().

Omar
  • 32,302
  • 9
  • 69
  • 112
Gerwin
  • 1,572
  • 5
  • 23
  • 51