Event.type - Web documentation
property Event.type

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

Type

string