history.Event Extends goog.events.Event
Event object dispatched after the history state has changed.

Inheritance

Constructor

goog.history.Event(tokenisNavigation)

Parameters

token : string
The string identifying the new history state.
isNavigation : boolean
True if the event was triggered by a browser action, such as forward or back, clicking on a link, editing the URL, or calling window.history.(go|back|forward). False if the token has been changed by a setToken or replaceToken call.

Instance Methods

Public Protected Private
dispose()
Events don't need to be disposed. For backwards compatibility (goog.events.Event used to inherit goog.Disposable).
code »
disposeInternal()
Events don't need to be disposed. For backwards compatibility (goog.events.Event used to inherit goog.Disposable).
code »
preventDefault()
Prevents the default action, for example a link redirecting to a url.
code »
stopPropagation()
Stops event propagation.
code »

Instance Properties

constructor :
No description.
Code »
isNavigation :
Whether the event was triggered by browser navigation.
Code »
token :
The current history state.
Code »
currentTarget :
Object that had the listener attached.
Code »
defaultPrevented :
Whether the default action has been prevented. This is a property to match the W3C specification at http://www.w3.org/TR/DOM-Level-3-Events/ #events-event-type-defaultPrevented. Must be treated as read-only outside the class.
Code »
propagationStopped_ :
Whether to cancel the event in internal capture/bubble processing for IE.
Code »
returnValue_ :
Return value for in internal capture/bubble processing for IE.
Code »
target :
Target of the event.
Code »
type :
Event type.
Code »

Static Properties

goog.history.Event.superClass_ :
No description.
Code »

Package history

Package Reference