The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
WinJS.Navigation.addEventListener function

Adds an event listener to the control. You can add listeners to the following events:
Syntax
WinJS.Navigation.addEventListener(eventType, listener, capture);
Parameters
- eventType
-
Type: string
The type (name) of the event.
- listener
-
Type: function
The handler to invoke when the event gets raised.
- capture
-
Type: Boolean
If true, specifies that capture should be initiated, otherwise false.
Return value
This function does not return a value.
Requirements
|
Minimum WinJS version |
WinJS 1.0 |
|---|---|
|
Namespace |
WinJS.Navigation |
See also
- For developers
- WinJS.Navigation Namespace
- WinJS.UI.Hub object
- WinJS.UI.AppBar object
- WinJS.UI.NavBar object
- WinJS.UI.BackButton object
- Your first app - Part 3: PageControl objects and navigation
- Navigating between pages
- Adding app bars
- Quickstart: Using single-page navigation
- Quickstart: Adding a nav bar (NavBar)
- Quickstart: Using a hub control for layout and navigation
- HTML Hub control sample
- HTML AppBar control sample
- HTML NavBar control sample
- Navigation and navigation history sample
- For designers
- Navigation patterns
- Command patterns
- Layout
- Hub
- Bottom app bar
- Top app bar
- Back button
- Guidelines for the hub control
- Guidelines for app bars
- Making the app bar accessible
Show: