Initialize event.
@param type The type of event. @param bubbles A boolean indicating whether the event should bubble up through the eventchain or not. @param cancelable A boolean indicating whether the event can be canceled.initEvent
method is used to initialize the value of an Event
created through the DocumentEvent
interface. This method may only be called before the Event
has been dispatched via the dispatchEvent
method, though it may be called multiple times during that phase if necessary. If called multiple times the final invocation takes precedence. If called from a subclass of Event
interface only the values specified in the initEvent
method are modified, all other properties are left unchanged.
@param eventTypeArg 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.
@param canBubbleArg Specifies whether or not the event can bubble.
@param cancelableArg Specifies whether or not the event's default action can be prevented.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|