Add JQuery focusin and focusout overload typings

See http://api.jquery.com/focusin/ and http://api.jquery.com/focusout/
This commit is contained in:
Tyler Brinkley
2015-09-21 09:46:07 -05:00
parent 09e37435ff
commit 056a2c38f5
+8
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
*