OptionalbrowserThe browser is creating the event (for a user action, or for something like element.click()), so the standard options for the type of event apply where the init does not give its own (default false)
OptionaltrustedThe event comes from a real user action rather than from a script (isTrusted) (default false)
How the event is being created.