Skip to content

API Doc: Updated methods sections in vmouse events #61

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

Merged
merged 1 commit into from
Oct 16, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions entries/vclick.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@
<longdesc>
<p>The jQuery Mobile <code>"vclick"</code> event handler simulates the "onclick" event handler on mobile devices.</p>
<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>
<methods>
<method name="preventDefault">
<desc>
A function to invoke in the event binding to prevent the synthetic click event by the browser.
</desc>
</method>
</methods>
<xi:include href="../includes/core-extension-desc.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
<pre><code><![CDATA[
$(document).on("vclick", "p", function(){
Expand All @@ -23,5 +16,12 @@
</p>
</longdesc>
<added>1.0</added>
<methods>
<method name="preventDefault">
<desc>
A function to invoke in the event binding to prevent the synthetic click event by the browser.
</desc>
</method>
</methods>
<category slug="events"/>
</entry>
14 changes: 7 additions & 7 deletions entries/vmousecancel.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<longdesc>
<p>The jQuery Mobile <code>vmousecancel</code> event handler is called whenever the system cancels a virtualized mouse event.</p>
<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>
<methods>
<method name="preventDefault">
<desc>
A function to invoke in the event binding to prevent the synthetic click event by the browser.
</desc>
</method>
</methods>
<xi:include href="../includes/core-extension-desc.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
</longdesc>
<added>1.0</added>
<methods>
<method name="preventDefault">
<desc>
A function to invoke in the event binding to prevent the synthetic click event by the browser.
</desc>
</method>
</methods>
<category slug="events"/>
</entry>
14 changes: 7 additions & 7 deletions entries/vmouseover.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@
<longdesc>
<p>The jQuery Mobile <code>"vmouseover"</code> event handler simulates the "onmouseover" event handler on mobile devices.</p>
<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>
<methods>
<method name="preventDefault">
<desc>
A function to invoke in the event binding to prevent the synthetic click event by the browser.
</desc>
</method>
</methods>
<xi:include href="../includes/core-extension-desc.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
<pre><code><![CDATA[
$(document).on("vmouseover", "p", function(){
Expand All @@ -23,5 +16,12 @@
</p>
</longdesc>
<added>1.0</added>
<methods>
<method name="preventDefault">
<desc>
A function to invoke in the event binding to prevent the synthetic click event by the browser.
</desc>
</method>
</methods>
<category slug="events"/>
</entry>
14 changes: 7 additions & 7 deletions entries/vmouseup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@
<longdesc>
<p>The jQuery Mobile <code>"vmouseup"</code> event handler simulates the "onmouseup" event handler on mobile devices.</p>
<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>
<methods>
<method name="preventDefault">
<desc>
A function to invoke in the event binding to prevent the synthetic click event by the browser.
</desc>
</method>
</methods>
<xi:include href="../includes/core-extension-desc.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
<pre><code><![CDATA[
$(document).on("vmouseup", "p", function(){
Expand All @@ -23,5 +16,12 @@
</p>
</longdesc>
<added>1.0</added>
<methods>
<method name="preventDefault">
<desc>
A function to invoke in the event binding to prevent the synthetic click event by the browser.
</desc>
</method>
</methods>
<category slug="events"/>
</entry>