Jquery documentation

I want to know what "e" (with the following source code) is and what element it has. Where can I find documentation for this kind of material? I would like to have "one" documentation for the entire jQuery API and all parameters. Google search is too time consuming ...

$("#idxy").mousedown(function(e) { ... }); 

Do you have any recommendations?

+4
source share
4 answers

See the official jQuery documentation .

In this case, e refers to an event object that is passed to all jQuery event handlers. This differs from the standard Event object in that jQuery normalizes many properties for consistency between browsers.

One extremely convenient tip: you can enter http://api.jquery.com/methodName and you will be shown the documentation for this method; try:

... you get the idea;).

+8
source

e is the event object that is passed to the function with details of the event that caused it.

The properties will differ depending on what raised the event in the first place, see the JQuery documentation for more details:

http://api.jquery.com/category/events/event-object/

+2
source

I would like to have "one" documentation for the entire jQuery API and all parameters.

docs.jquery.com

I want to know what 'e' is

On the mousedown page:

.mousedown( handler(eventObject) )

This is an eventObject .

+2
source

jQAPI - Alternative jQuery documentation has standalone versions of HTML and AIR .

0
source

Source: https://habr.com/ru/post/1382461/


All Articles