From 056a2c38f5822903eadf7cc4acf566765681229b Mon Sep 17 00:00:00 2001 From: Tyler Brinkley Date: Mon, 21 Sep 2015 09:46:07 -0500 Subject: [PATCH] Add JQuery focusin and focusout overload typings See http://api.jquery.com/focusin/ and http://api.jquery.com/focusout/ --- jquery/jquery.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/jquery/jquery.d.ts b/jquery/jquery.d.ts index d7688f1871..3641af8503 100644 --- a/jquery/jquery.d.ts +++ b/jquery/jquery.d.ts @@ -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 *