Skip to content

Commit 056a2c3

Browse files
committed
Add JQuery focusin and focusout overload typings
See http://api.jquery.com/focusin/ and http://api.jquery.com/focusout/
1 parent 09e3743 commit 056a2c3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

jquery/jquery.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1998,6 +1998,10 @@ interface JQuery {
19981998
*/
19991999
focus(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
20002000

2001+
/**
2002+
* Trigger the "focusin" event on an element.
2003+
*/
2004+
focusin(): JQuery;
20012005
/**
20022006
* Bind an event handler to the "focusin" JavaScript event
20032007
*
@@ -2012,6 +2016,10 @@ interface JQuery {
20122016
*/
20132017
focusin(eventData: Object, handler: (eventObject: JQueryEventObject) => any): JQuery;
20142018

2019+
/**
2020+
* Trigger the "focusout" event on an element.
2021+
*/
2022+
focusout(): JQuery;
20152023
/**
20162024
* Bind an event handler to the "focusout" JavaScript event
20172025
*

0 commit comments

Comments
 (0)