Skip to content

Commit ceb33ee

Browse files
committed
Merge pull request jquery#61 from robertbosse/master
API Doc: Updated methods sections in vmouse events
2 parents 8b35852 + d60fb30 commit ceb33ee

File tree

4 files changed

+28
-28
lines changed

4 files changed

+28
-28
lines changed

entries/vclick.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,6 @@
55
<longdesc>
66
<p>The jQuery Mobile <code>"vclick"</code> event handler simulates the "onclick" event handler on mobile devices.</p>
77
<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>
8-
<methods>
9-
<method name="preventDefault">
10-
<desc>
11-
A function to invoke in the event binding to prevent the synthetic click event by the browser.
12-
</desc>
13-
</method>
14-
</methods>
158
<xi:include href="../includes/core-extension-desc.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
169
<pre><code><![CDATA[
1710
$(document).on("vclick", "p", function(){
@@ -23,5 +16,12 @@
2316
</p>
2417
</longdesc>
2518
<added>1.0</added>
19+
<methods>
20+
<method name="preventDefault">
21+
<desc>
22+
A function to invoke in the event binding to prevent the synthetic click event by the browser.
23+
</desc>
24+
</method>
25+
</methods>
2626
<category slug="events"/>
2727
</entry>

entries/vmousecancel.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
<longdesc>
66
<p>The jQuery Mobile <code>vmousecancel</code> event handler is called whenever the system cancels a virtualized mouse event.</p>
77
<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>
8-
<methods>
9-
<method name="preventDefault">
10-
<desc>
11-
A function to invoke in the event binding to prevent the synthetic click event by the browser.
12-
</desc>
13-
</method>
14-
</methods>
158
<xi:include href="../includes/core-extension-desc.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
169
</longdesc>
1710
<added>1.0</added>
11+
<methods>
12+
<method name="preventDefault">
13+
<desc>
14+
A function to invoke in the event binding to prevent the synthetic click event by the browser.
15+
</desc>
16+
</method>
17+
</methods>
1818
<category slug="events"/>
1919
</entry>

entries/vmouseover.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,6 @@
55
<longdesc>
66
<p>The jQuery Mobile <code>"vmouseover"</code> event handler simulates the "onmouseover" event handler on mobile devices.</p>
77
<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>
8-
<methods>
9-
<method name="preventDefault">
10-
<desc>
11-
A function to invoke in the event binding to prevent the synthetic click event by the browser.
12-
</desc>
13-
</method>
14-
</methods>
158
<xi:include href="../includes/core-extension-desc.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
169
<pre><code><![CDATA[
1710
$(document).on("vmouseover", "p", function(){
@@ -23,5 +16,12 @@
2316
</p>
2417
</longdesc>
2518
<added>1.0</added>
19+
<methods>
20+
<method name="preventDefault">
21+
<desc>
22+
A function to invoke in the event binding to prevent the synthetic click event by the browser.
23+
</desc>
24+
</method>
25+
</methods>
2626
<category slug="events"/>
2727
</entry>

entries/vmouseup.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,6 @@
55
<longdesc>
66
<p>The jQuery Mobile <code>"vmouseup"</code> event handler simulates the "onmouseup" event handler on mobile devices.</p>
77
<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>
8-
<methods>
9-
<method name="preventDefault">
10-
<desc>
11-
A function to invoke in the event binding to prevent the synthetic click event by the browser.
12-
</desc>
13-
</method>
14-
</methods>
158
<xi:include href="../includes/core-extension-desc.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
169
<pre><code><![CDATA[
1710
$(document).on("vmouseup", "p", function(){
@@ -23,5 +16,12 @@
2316
</p>
2417
</longdesc>
2518
<added>1.0</added>
19+
<methods>
20+
<method name="preventDefault">
21+
<desc>
22+
A function to invoke in the event binding to prevent the synthetic click event by the browser.
23+
</desc>
24+
</method>
25+
</methods>
2626
<category slug="events"/>
2727
</entry>

0 commit comments

Comments
 (0)