forked from jquery/api.jquery.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdblclick-shorthand.xml
36 lines (36 loc) · 1.55 KB
/
dblclick-shorthand.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0"?>
<entry type="method" name="dblclick" return="jQuery" deprecated="3.3">
<title>.dblclick()</title>
<desc>Bind an event handler to the "dblclick" event, or trigger that event on an element.</desc>
<signature>
<added>1.0</added>
<argument name="handler" type="Function">
<desc>A function to execute each time the event is triggered.</desc>
<argument name="eventObject" type="Event" />
</argument>
</signature>
<signature>
<added>1.4.3</added>
<argument name="eventData" type="Anything" optional="true">
<desc>An object containing data that will be passed to the event handler.</desc>
</argument>
<argument name="handler" type="Function">
<desc>A function to execute each time the event is triggered.</desc>
<argument name="eventObject" type="Event" />
</argument>
</signature>
<signature>
<added>1.0</added>
</signature>
<longdesc>
<div class="warning">
<p>This API is deprecated.</p>
<p>Instead of <code>.dblclick( handler )</code> or <code>.dblclick( eventData, handler )</code>, use <a href="/dblclick/#on1"><code>.on( "dblclick", handler )</code></a> or <a href="/dblclick/#on1"><code>.on( "dblclick", eventData, handler )</code></a>, respectively.</p>
<p>Instead of <code>.dblclick()</code>, use <a href="/dblclick/#trigger2"><code>.trigger( "dblclick" )</code></a>.</p>
</div>
</longdesc>
<category slug="events/mouse-events"/>
<category slug="version/1.0"/>
<category slug="version/1.4.3"/>
<category slug="deprecated/deprecated-3.3"/>
</entry>