type

Ptype
Bun

Symbol

Event.type

readonly type: string

Returns the type of event, e.g. "click", "hashchange", or "submit".

MDN Reference