Closed
Bug 194646
Opened 22 years ago
Closed 19 years ago
UIEvent.initUIEvent() method improperly documented
Categories
(Documentation Graveyard :: Web Developer, defect)
Documentation Graveyard
Web Developer
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: leonard, Assigned: doronr)
References
()
Details
the initUIEvent() method takes five parameters as per the DOM2 spec (http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-UIEvent): typeArg of type DOMString Specifies the event type. canBubbleArg of type boolean Specifies whether or not the event can bubble. cancelableArg of type boolean Specifies whether or not the event's default action can be prevented. viewArg of type views::AbstractView Specifies the Event's AbstractView. detailArg of type long Specifies the Event's detail. Also, you might want to check out the UIEvent types. The example in the Gecko Reference specifies a 'click' type, but according to the same DOM 2 Reference, the valid types are: DOMFocusIn,DOMFocusOut, and DOMActivate * Note that trying to use a UIEvent give me a NS_ERROR_DOM_NOT_SUPPORTED error, so this might be theoretical for now
Comment 2•21 years ago
|
||
moving stuff over to an outside-the-firewall email for the time being, looking for people to pick these Help and doc bugs up for me.
Assignee: oeschger → oeschger
Comment 5•19 years ago
|
||
fixed: http://developer.mozilla.org/en/docs/DOM:event.initUIEvent
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•