type

Ptype
Bun

Symbol

CloseEvent.type

readonly type: string

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

MDN Reference