initEvent(eventTypeArg, canBubbleArg, cancelableArg )
|
|
Parameters
|
StringeventTypeArg
Specifies the event type. This type may be any event type currently defined in this specification or a new event type.. The string must be an XML name.
Any new event type must not begin with any upper, lower, or mixed case version of the string "DOM". This prefix is reserved for future DOM event sets. It is also strongly recommended that third parties adding their own events use their own prefix to avoid confusion and lessen the probability of conflicts with other new events.
booleancanBubbleArg
Specifies whether or not the event can bubble.
booleancancelableArg
Specifies whether or not the event's default action can be prevented.
|
Returns
|
void
|