Skip to content

Commit f8abf9e

Browse files
committed
API Doc: Update to vmouse methods
1 parent 822a0d8 commit f8abf9e

File tree

4 files changed

+8
-16
lines changed

4 files changed

+8
-16
lines changed

entries/vclick.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<desc>Virtualized click event handler.</desc>
55
<longdesc>
66
<p>The jQuery Mobile <code>"vclick"</code> event handler simulates the "onclick" event handler on mobile devices.</p>
7-
<p>The idea behind virtualized mouse events is to translate touch events into mouse events. Developers should be aware that these virtualized mouse events will not prevent any synthetic mouse events from being triggered inside the browser after a touch event. If a mouse-type device is used on the system, the virtualized mouse events are dispatched at the same time as the normal mouse events.</p>
7+
<p style="font-style:italic;">The idea behind virtualized mouse events is to translate touch events into mouse events. Developers should be aware that these virtualized mouse events will not prevent any synthetic mouse events from being triggered inside the browser after a touch event. If a mouse-type device is used on the system, the virtualized mouse events are dispatched at the same time as the normal mouse events.</p>
88
<methods>
9-
<method name="preventDefault" optional="true">
9+
<method name="preventDefault">
1010
<desc>
1111
A function to invoke in the event binding to prevent the synthetic click event by the browser.
1212
</desc>

entries/vmousecancel.xml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,15 @@
44
<desc>Virtualized mousecancel event handler.</desc>
55
<longdesc>
66
<p>The jQuery Mobile <code>vmousecancel</code> event handler is called whenever the system cancels a virtualized mouse event.</p>
7-
<p>The idea behind virtualized mouse events is to translate touch events into mouse events. Developers should be aware that these virtualized mouse events will not prevent any synthetic mouse events from being triggered inside the browser after a touch event. If a mouse-type device is used on the system, the virtualized mouse events are dispatched at the same time as the normal mouse events.</p>
7+
<p style="font-style:italic;">The idea behind virtualized mouse events is to translate touch events into mouse events. Developers should be aware that these virtualized mouse events will not prevent any synthetic mouse events from being triggered inside the browser after a touch event. If a mouse-type device is used on the system, the virtualized mouse events are dispatched at the same time as the normal mouse events.</p>
88
<methods>
9-
<method name="preventDefault" optional="true">
9+
<method name="preventDefault">
1010
<desc>
1111
A function to invoke in the event binding to prevent the synthetic click event by the browser.
1212
</desc>
1313
</method>
1414
</methods>
1515
<xi:include href="../includes/core-extension-desc.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
16-
<pre><code><![CDATA[
17-
$(document).on("vmousecancel", "p", function(){
18-
$(this).append('<span style="color:#00F;">vmousecancel fired.</span>');
19-
});
20-
]]></code></pre>
21-
<p>Click, and watch as the magic happens!
22-
<iframe src="/resources/vmousecancel/example1.html" style="width:100%;height:90px;border:0px"></iframe>
23-
</p>
2416
</longdesc>
2517
<added>1.0</added>
2618
<category slug="events"/>

entries/vmouseover.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<desc>Virtualized mouseover event handler.</desc>
55
<longdesc>
66
<p>The jQuery Mobile <code>"vmouseover"</code> event handler simulates the "onmouseover" event handler on mobile devices.</p>
7-
<p>The idea behind virtualized mouse events is to translate touch events into mouse events. Developers should be aware that these virtualized mouse events will not prevent any synthetic mouse events from being triggered inside the browser after a touch event. If a mouse-type device is used on the system, the virtualized mouse events are dispatched at the same time as the normal mouse events.</p>
7+
<p style="font-style:italic;">The idea behind virtualized mouse events is to translate touch events into mouse events. Developers should be aware that these virtualized mouse events will not prevent any synthetic mouse events from being triggered inside the browser after a touch event. If a mouse-type device is used on the system, the virtualized mouse events are dispatched at the same time as the normal mouse events.</p>
88
<methods>
9-
<method name="preventDefault" optional="true">
9+
<method name="preventDefault">
1010
<desc>
1111
A function to invoke in the event binding to prevent the synthetic click event by the browser.
1212
</desc>

entries/vmouseup.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<desc>Virtualized mouseup event handler.</desc>
55
<longdesc>
66
<p>The jQuery Mobile <code>"vmouseup"</code> event handler simulates the "onmouseup" event handler on mobile devices.</p>
7-
<p>The idea behind virtualized mouse events is to translate touch events into mouse events. Developers should be aware that these virtualized mouse events will not prevent any synthetic mouse events from being triggered inside the browser after a touch event. If a mouse-type device is used on the system, the virtualized mouse events are dispatched at the same time as the normal mouse events.</p>
7+
<p style="font-style:italic;">The idea behind virtualized mouse events is to translate touch events into mouse events. Developers should be aware that these virtualized mouse events will not prevent any synthetic mouse events from being triggered inside the browser after a touch event. If a mouse-type device is used on the system, the virtualized mouse events are dispatched at the same time as the normal mouse events.</p>
88
<methods>
9-
<method name="preventDefault" optional="true">
9+
<method name="preventDefault">
1010
<desc>
1111
A function to invoke in the event binding to prevent the synthetic click event by the browser.
1212
</desc>

0 commit comments

Comments
 (0)