AvailabilityDOM Level 2 Events Synopsisvoid initEvent(String eventTypeArg, boolean canBubbleArg, boolean cancelableArg); Arguments
DescriptionThis method initializes the type, bubbles, and cancelable properties of a synthetic Event object created by Document.createEvent( ). This method may be called on newly created Event objects only before they have been dispatched with the EventTarget.dispatchEvent( ) method. |