The goog.history.Event Class

goog.history.Event
> goog.events.Event

goog.history.Event(token, isNavigation)

Event object dispatched after the history state has changed.

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 {@code window.history.(go|back|forward)}. False if the token has been changed by a {@code setToken} or {@code replaceToken} call.

.defaultPrevented {boolean}

Inherited from goog.events.Event .

Whether the default action has been prevented. This is a property to match the W3C specification at {@link http://www.w3.org/TR/DOM-Level-3-Events/#events-event-type-defaultPrevented}. Must be treated as read-only outside the class.

.isNavigation {boolean}

Whether the event was triggered by browser navigation.

.preventDefault()

Inherited from goog.events.Event .

Prevents the default action, for example a link redirecting to a url.

.propagationStopped_ {boolean}

Inherited from goog.events.Event .

Whether to cancel the event in internal capture/bubble processing for IE.

@suppress
{underscore} Technically public, but referencing this outside this package is strongly discouraged.

.returnValue_ {boolean}

Inherited from goog.events.Event .

Return value for in internal capture/bubble processing for IE.

@suppress
{underscore} Technically public, but referencing this outside this package is strongly discouraged.

.stopPropagation()

Inherited from goog.events.Event .

Stops event propagation.

.token {string}

The current history state.