Return the type of event that was triggered:
The result of x could be:
The type event property returns the type of the triggered event.
The numbers in the table specify the first browser version that fully supports the property.
Property | |||||
---|---|---|---|---|---|
type | Yes | 9.0 | Yes | Yes | Yes |
Return Value: | A String, representing the type of the event |
---|---|
DOM Version: | DOM Level 2 Events |