Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

extIEventItem

This content covers features introduced in Thunderbird 3

The extEventItem interface holds information about an event. extIEventItem is defined in toolkit/components/exthelper/extIApplication.idl.

Implemented via XPCOM service for extIApplication: see the instructions on the FUEL (Firefox), STEEL (Thunderbird) and SMILE (SeaMonkey) pages.

Method overview

void preventDefault()

Attributes

Attribute Type Description
type readonly attribute AString The name of the event
data readonly attribute nsIVariant Can hold extra details and data associated with the event. This is optional and event specific. If the event does not send extra details, this is null.

Methods

preventDefault()

Cancels the event if it is cancelable.

void preventDefault()
Parameters
Return value

 

See also

 FUEL (Firefox), STEEL (Thunderbird) and SMILE (SeaMonkey)

Document Tags and Contributors

 Contributors to this page: Sheppy, jenzed, Potappo, Mgjbot, Gomita, MarkFinkle
 Last updated by: Sheppy,