mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +00:00
jQuery: Added hover / load event handler JSDoc
This commit is contained in:
Vendored
+22
@@ -761,7 +761,18 @@ interface JQuery {
|
||||
*/
|
||||
focusout(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
/**
|
||||
* Bind two handlers to the matched elements, to be executed when the mouse pointer enters and leaves the elements.
|
||||
*
|
||||
* @param handlerIn A function to execute when the mouse pointer enters the element.
|
||||
* @param handlerOut A function to execute when the mouse pointer leaves the element.
|
||||
*/
|
||||
hover(handlerIn: (eventObject: JQueryEventObject) => any, handlerOut: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
/**
|
||||
* Bind a single handler to the matched elements, to be executed when the mouse pointer enters or leaves the elements.
|
||||
*
|
||||
* @param handlerInOut A function to execute when the mouse pointer enters or leaves the element.
|
||||
*/
|
||||
hover(handlerInOut: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
/**
|
||||
@@ -818,7 +829,18 @@ interface JQuery {
|
||||
*/
|
||||
keyup(eventData?: any, handler?: (eventObject: JQueryKeyEventObject) => any): JQuery;
|
||||
|
||||
/**
|
||||
* Bind an event handler to the "load" JavaScript event.
|
||||
*
|
||||
* @param handler A function to execute when the event is triggered.
|
||||
*/
|
||||
load(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
/**
|
||||
* Bind an event handler to the "load" JavaScript event.
|
||||
*
|
||||
* @param eventData An object containing data that will be passed to the event handler.
|
||||
* @param handler A function to execute when the event is triggered.
|
||||
*/
|
||||
load(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
mousedown(): JQuery;
|
||||
|
||||
Reference in New Issue
Block a user