mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
Merge pull request #5938 from Tydude4Christ/patch-1
Add JQuery focusin and focusout overload typings
This commit is contained in:
8
jquery/jquery.d.ts
vendored
8
jquery/jquery.d.ts
vendored
@@ -1998,6 +1998,10 @@ interface JQuery {
|
||||
*/
|
||||
focus(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
/**
|
||||
* Trigger the "focusin" event on an element.
|
||||
*/
|
||||
focusin(): JQuery;
|
||||
/**
|
||||
* Bind an event handler to the "focusin" JavaScript event
|
||||
*
|
||||
@@ -2012,6 +2016,10 @@ interface JQuery {
|
||||
*/
|
||||
focusin(eventData: Object, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
/**
|
||||
* Trigger the "focusout" event on an element.
|
||||
*/
|
||||
focusout(): JQuery;
|
||||
/**
|
||||
* Bind an event handler to the "focusout" JavaScript event
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user