You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: entries/jQuery.widget.xml
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -298,12 +298,13 @@
298
298
<desc>The element(s) to apply the focusable behavior to.</desc>
299
299
</argument>
300
300
</method>
301
-
<methodname="_trigger">
301
+
<methodname="_trigger"return="Boolean">
302
302
<desc>
303
303
Triggers an event and its associated callback.
304
304
<p>The option with the name equal to type is invoked as the callback.</p>
305
305
<p>The event name is the widget name + type.</p>
306
306
<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>
307
+
<p>Returns <code>false</code> if the handler returns false or prevents the default by calling <code>event.preventDefault()</code>. Returns <code>true</code> otherwise.</p>
307
308
</desc>
308
309
<argumentname="type"type="String">
309
310
<desc>The <code>type</code> should match the name of a callback option. The full event type will be generated automatically.</desc>
0 commit comments