Merge pull request #5938 from Tydude4Christ/patch-1

Add JQuery focusin and focusout overload typings
This commit is contained in:
John Reilly
2015-09-27 06:14:53 +01:00

8
jquery/jquery.d.ts vendored
View File

@@ -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
*