Q.Page Class
A constructor to create Q.Page objects
Constructor
Methods
push
(
static
-
url
-
[title=null]
Pushes a url onto the history stack via pushState with a fallback to hashChange, to be handled later by either the Q_popStateHandler or the Q_hashChangeHandler.
Properties
beingProcessed
Boolean
Whether we are currently in the process of unloading the existing page, and then loading and activating the new page.
Events
beforeUnload
Occurs before the page unloads
Event Payload:
-
uriString
StringThe full URI string, or "Module/action"
onActivate
Occurs after the page is activated
Event Payload:
-
uriString
StringThe full URI string, or "Module/action"
onLoad
Occurs when the page has begun to load
Event Payload:
-
uriString
StringThe full URI string, or "Module/action"
onUnload
Occurs after the page unloads
Event Payload:
-
uriString
StringThe full URI string, or "Module/action"