Logo Search packages:      
Sourcecode: xulrunner version File versions  Download package

nsIDOMBeforeUnloadEvent Interface Reference

import "nsIDOMBeforeUnloadEvent.idl";

Inheritance diagram for nsIDOMBeforeUnloadEvent:

nsIDOMEvent nsISupports

List of all members.


Detailed Description

The nsIDOMBeforeUnloadEvent interface is the interface for events sent to handlers of the "beforeunload" event. This event is non-standard. Interface derived from Microsoft IE's event implementation.

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/events.asp

Definition at line 52 of file nsIDOMBeforeUnloadEvent.idl.


Public Member Functions

void initEvent (in DOMString eventTypeArg, in boolean canBubbleArg, in boolean cancelableArg)
void preventDefault ()
void stopPropagation ()
Methods
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

Public Attributes

const unsigned short AT_TARGET = 2
readonly attribute boolean bubbles
const unsigned short BUBBLING_PHASE = 3
readonly attribute boolean cancelable
const unsigned short CAPTURING_PHASE = 1
readonly attribute
nsIDOMEventTarget 
currentTarget
readonly attribute unsigned short eventPhase
attribute DOMString returnValue
readonly attribute
nsIDOMEventTarget 
target
readonly attribute DOMTimeStamp timeStamp
readonly attribute DOMString type

The documentation for this interface was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index