Skip to content

Commit 5db87f6

Browse files
committed
jQuery.widget: Triggered event names are lowercase
1 parent 7e792c8 commit 5db87f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entries/jQuery.widget.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ this._focusable( this.element.find( ".my-items" ) );
564564
<desc>
565565
Triggers an event and its associated callback.
566566
<p>The option with the name equal to type is invoked as the callback.</p>
567-
<p>The event name is the widget name + type.</p>
567+
<p>The event name is the lowercase concatenation of the widget name and type.</p>
568568
<p><em>Note: When providing data, you must provide all three parameters. If there is no event to pass along, just pass <code>null</code>.</em></p>
569569
<p>If the default action is prevented, <code>false</code> will be returned, otherwise <code>true</code>. Preventing the default action happens when the handler returns <code>false</code> or calls <code>event.preventDefault()</code>.</p>
570570
</desc>

0 commit comments

Comments
 (0)