.type

Term side of the Card
Topic: Event
Unit title: .type
Categories: Property
Explanation side of the Card

Explanation: The browser API property that returns a string indicating the type of event, such as 'click', 'keydown', 'submit' or 'mouseover'. It helps identify the kind of event that occurred.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1.5
  • The safari browser supports this feature starting from version 1
Availability: