TOC PREV NEXT INDEX

domref



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
 


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX