onnavigating event

This topic has not yet been rated - Rate this topic

Occurs when navigation is taking place.

Syntax


WinJS.Navigation.addEventListener("navigating", listenerName);
or
WinJS.Application.onnavigating = 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.Navigation

Library

Base.js

 

 

Build date: 12/5/2012

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