WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIDOMPageTransitionEvent

IID:b712418b-376f-4f75-b156-5d9ad99fe51f
Inherits From:nsIDOMEvent

The nsIDOMPageTransitionEvent interface is used for the pageshow and pagehide events, which are generic events that apply to both page load/unload and saving/restoring a document from session history.


Properties

readonly PRBool persisted

Set to true if the document has been or will be persisted across firing of the event. For example, if a document is being cached in session history, persisted is true for the PageHide event.


Methods

void initPageTransitionEvent ( DOMString typeArg , PRBool canBubbleArg , PRBool canCancelArg , PRBool persisted )

void initPageTransitionEvent ( DOMString typeArg , PRBool canBubbleArg , PRBool canCancelArg , PRBool persisted )

Arguments:
typeArg
canBubbleArg
canCancelArg
persisted

Reference documentation is generated from Mozilla's source.