Skip to content

Commit 1e67855

Browse files
committed
Tooltip: Remove documentation for internal event parameter for open and close methods.
1 parent da42b3e commit 1e67855

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

entries/tooltip.xml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,22 +62,16 @@
6262
<methods>
6363
<method name="close">
6464
<desc>
65-
Closes a tooltip. If the widget's element is the target, the event argument is optional. Otherwise you have to pass an event object with the <code>currentTarget</code> property pointing at the target.
65+
Closes a tooltip. This is only intended to be called for non-delegated tooltips.
6666
</desc>
67-
<argument name="event" type="Event" optional="true">
68-
<desc>What triggered the tooltip to close.</desc>
69-
</argument>
7067
</method>
7168
<xi:include href="../includes/widget-method-destroy.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
7269
<xi:include href="../includes/widget-method-disable.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
7370
<xi:include href="../includes/widget-method-enable.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
7471
<method name="open">
7572
<desc>
76-
Programmatically open a tooltip. If the widget's element is the target, the event argument is optional. Otherwise you have to pass an event object with the <code>currentTarget</code> property pointing at the target.
73+
Programmatically open a tooltip. This is only intended to be called for non-delegated tooltips.
7774
</desc>
78-
<argument name="event" type="Event" optional="true">
79-
<desc>What triggered the tooltip to open.</desc>
80-
</argument>
8175
</method>
8276
<xi:include href="../includes/widget-method-option.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
8377
<xi:include href="../includes/widget-method-widget.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>

0 commit comments

Comments
 (0)