Navigation.onnavigated event

2 out of 2 rated this helpful - Rate this topic

Occurs after navigation has taken place.

Syntax


WinJS.Navigation.addEventListener("navigated", listenerName);
or
WinJS.Application.onnavigated = listenerName;


Event information

SynchronousNo
BubblesYes
CancelableYes

Event handler parameters

eventInfo

Type: CustomEvent

An object that contains information about the event. The detail property of this object contains the following sub-properties:

  • location: the location being navigated to.
  • state: the state associated with the location being navigated to.

Remarks

For more information about using navigation, see the Navigation sample.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Namespace

WinJS

Library

Base.js

See also

Navigation

 

 

Build date: 12/5/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.