deno.com
property Event.type

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

Type #

string