Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to get the list of event types?

The official documentation only says:

The event's type, such as "click", "blur" or "keypress".

For iOS devices the touchstart is another event which is working. Where can I get the full list of all possible events? I like for example actually to get the event for the <select> event hasChanged(). Is this based on another library?

like image 700
loomi Avatar asked Mar 08 '13 12:03

loomi


People also ask

How many types of events are there?

What are the classifications of event types? Event types can be separated into corporate, private, or charity. Corporate events focus on businesses and customers, whereas private events are more recreational and charity events are for philanthropy.


2 Answers

Meteor doesn't define the events it supports — it simply creates a cross-browser event listener wrapper. If you wanted to create custom events and trigger them, Meteor would pick them up.

The native input events supported depends on the browser: the Mozilla Developer Network reference is a good place to start.

like image 133
Barney Avatar answered Oct 04 '22 02:10

Barney


Th docs also says that all the DOM events are also possible in addition to click, focus, blur, etc.

Other DOM events are available as well, but for the events above, Meteor has taken some care to ensure that they work uniformly in all browsers.

You can see the list of available Javascript events here and here.

like image 37
sohel khalifa Avatar answered Oct 04 '22 04:10

sohel khalifa