10000 .triggerHandler(): Use "triggered" (not "created"). Closes #428 · philip-peterson/api.jquery.com@0b93913 · GitHub
Skip to content

Commit 0b93913

Browse files
AurelioDeRosakswedberg
authored andcommitted
.triggerHandler(): Use "triggered" (not "created"). Closes jquery#428
1 parent 5b6edcc commit 0b93913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entries/triggerHandler.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<ul>
1717
<li>The <code>.triggerHandler()</code> method does not cause the default behavior of an event to occur (such as a form submission).</li>
1818
<li>While <code>.trigger()</code> will operate on all elements matched by the jQuery object, <code>.triggerHandler()</code> only affects the first matched element.</li>
19-
<li>Events created with <code>.triggerHandler()</code> do not bubble up the DOM hierarchy; if they are not handled by the target element directly, they do nothing.</li>
19+
<li>Events triggered with <code>.triggerHandler()</code> do not bubble up the DOM hierarchy; if they are not handled by the target element directly, they do nothing.</li>
2020
<li>Instead of returning the jQuery object (to allow chaining), <code>.triggerHandler()</code> returns whatever value was returned by the last handler it caused to be executed. If no handlers are triggered, it returns <code>undefined</code></li>
2121
</ul>
2222
<p>For more information on this method, see the discussion for <code><a href="/trigger/">.trigger()</a></code>.</p>

0 commit comments

Comments
 (0)