|
| 1 | +<?xml version="1.0"?> |
| 2 | +<entry name="hashtag" type="event" return="jQuery"> |
| 3 | + <title>.vmouseover()</title> |
| 4 | + <desc>Virtualized mouseover event handler.</desc> |
| 5 | + <longdesc> |
| 6 | + <p>The jQuery Mobile <code>.vmouseover()</code> event handler simulates the "onmouseover" event handler on mobile devices.</p> |
| 7 | + <xi:include href="../includes/core-extension-desc.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/> |
| 8 | + </longdesc> |
| 9 | + <added>1.0</added> |
| 10 | + <signature> |
| 11 | + <argument name="callback" type="Function" optional="true"> |
| 12 | + <desc>A function to invoke after the vmouseover event is fired.</desc> |
| 13 | + </argument> |
| 14 | + </signature> |
| 15 | + <example> |
| 16 | + <desc>A simple jQuery Mobile hashchange example.</desc> |
| 17 | + <code><; |
| 31 | + }); |
| 32 | + }) |
| 33 | + // Since the event is only triggered when the hash changes, we need to trigger |
| 34 | + // the event now, to handle the hash the page may have loaded with. |
| 35 | + $(window).hashchange(); |
| 36 | + }); |
| 37 | + ]]></code> |
| 38 | + </example> |
| 39 | + <pre> |
| 40 | + <code> |
| 41 | + <p>Click, and watch as the magic happens! |
| 42 | + <iframe src="/resources/hashtag/example1.html" style="width:100%;height:90px;border:0px"></iframe> |
| 43 | + </p> |
| 44 | + </code> |
| 45 | + </pre> |
| 46 | + <category slug="events"/> |
| 47 | +</entry> |
0 commit comments