Skip to content

Fixing keypress docs renaming wrong instances of "keyup" #1272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 8, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions entries/keypress.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<desc>Bind an event handler to the "keypress" event.</desc>
<signature>
<added>1.7</added>
<argument name="&quot;keyup&quot;" type="string">
<desc>The string <code>"keyup"</code>.</desc>
<argument name="&quot;keypress&quot;" type="string">
<desc>The string <code>"keypress"</code>.</desc>
</argument>
<argument name="eventData" type="Anything" optional="true">
<desc>An object containing data that will be passed to the event handler.</desc>
Expand Down Expand Up @@ -113,16 +113,16 @@ $( "#other" ).on( "click", function() {
</entry>

<entry type="method" name="trigger" return="jQuery">
<title>keyup event</title>
<desc>Trigger the "keyup" event on an element.</desc>
<title>keypress event</title>
<desc>Trigger the "keypress" event on an element.</desc>
<signature>
<added>1.0</added>
<argument name="&quot;keyup&quot;" type="string">
<desc>The string <code>"keyup"</code>.</desc>
<argument name="&quot;keypress&quot;" type="string">
<desc>The string <code>"keypress"</code>.</desc>
</argument>
</signature>
<longdesc>
<p>See the description for <a href="#on1"><code>.on( "keyup", ... )</code></a>.</p>
<p>See the description for <a href="#on1"><code>.on( "keypress", ... )</code></a>.</p>
</longdesc>
<category slug="events/keyboard-events"/>
<category slug="version/1.0"/>
Expand Down