trackEvent = new TrackEvent(type, eventInfo);
The type of track event which is described by the object:
An optional dictionary providing additional information configuring the new event; it can contain the following fields in any combination:
A Boolean indicating whether the event bubbles or not.
A Boolean indicating whether or not the event can be canceled.
A Boolean indicating whether or not the event will trigger listeners outside of a shadow root; see
Event.composedfor more details.
TrackEvent object, initialized as described by the
inputs to the constructor.
|HTML Standard (HTML)|
BCD tables only load in the browser