TOC PREV NEXT INDEX

Put your logo here!


initUIEvent


Initializes a UI event once it's been created.

Syntax

event.initUIEvent(type, canBubble, view, detail) 

Parameters

type

The type of event

canBubble

A boolean indicating whether the event should bubble up through the event chain or not (see bubbles).

view

The AbstractView associated with the event.

detail

Number indicating how many times the mouse has been clicked on a given screen location (usually 1).


Example

e = document.createEvent( // fill // ); 
e.initUIEvent( 
  "click" 
  0, 
  window 
  1 
) 

Notes

None.

Specification

initUIEvent 


mozilla DOM project | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX