The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
type property
Gets the name of an event.
![]() ![]() |
Syntax
| JavaScript | |
|---|
Property values
Type: String
The name of the event, such as click or mouseover.
Standards information
Remarks
The type property of the event depends on the event. This property can be a standard event type, or it can be a custom user-defined event that you created by using the createEvent and initEvent methods.
The type property is similar to type in Windows Internet Explorer 8 and earlier versions.
See also
- BeforeUnloadEvent
- CompositionEvent
- CustomEvent
- DragEvent
- Event
- FocusEvent
- KeyboardEvent
- MessageEvent
- MouseEvent
- MouseWheelEvent
- MSSiteModeEvent
- MutationEvent
- StorageEvent
- SVGZoomEvent
- TextEvent
- UIEvent
- initEvent
Show:

