jQuery: JSDoc'd blur

This commit is contained in:
John Reilly
2014-02-18 16:56:14 +00:00
parent 586de634a8
commit b4ce3c8e6e

15
jquery/jquery.d.ts vendored
View File

@@ -2065,7 +2065,22 @@ interface JQuery {
*/
bind(events: any): JQuery;
/**
* Trigger the "blur" event on an element
*/
blur(): JQuery;
/**
* Bind an event handler to the "blur" JavaScript event
*
* @param handler A function to execute each time the event is triggered.
*/
blur(handler: (eventObject: JQueryEventObject) => any): JQuery;
/**
* Bind an event handler to the "blur" JavaScript event
*
* @param eventData An object containing data that will be passed to the event handler.
* @param handler A function to execute each time the event is triggered.
*/
blur(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
/**