Public Member Functions | Public Attributes

nsIDOMPageTransitionEvent Interface Reference

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. More...

import "nsIDOMPageTransitionEvent.idl";

Inheritance diagram for nsIDOMPageTransitionEvent:
Collaboration diagram for nsIDOMPageTransitionEvent:

List of all members.

Public Member Functions

void initPageTransitionEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean canCancelArg, in boolean persisted)

Public Attributes

readonly attribute boolean persisted
 Set to true if the document has been or will be persisted across firing of the event.

Detailed Description

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.


Member Function Documentation

void nsIDOMPageTransitionEvent::initPageTransitionEvent ( in DOMString  typeArg,
in boolean  canBubbleArg,
in boolean  canCancelArg,
in boolean  persisted 
)

Member Data Documentation

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.


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