onnavigating event

onnavigating event

[This documentation is preliminary and is subject to change.]

Applies to: Metro style apps only

Occurs when navigation is taking place.

Syntax


WinJS.Navigation.addEventListener("navigating", listenerName);
or
WinJS.Application.onnavigating = listenerName;

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.

Requirements

Minimum supported client

Windows 8 Consumer Preview

Minimum supported server

Windows Server 8 Beta

Namespace

WinJS.Navigation

Library

Base.js

 

 

Build date: 2/10/2012

Ajouts de la communauté

AJOUTER
Afficher:
© 2016 Microsoft