WinJS.Navigation.addEventListener function
Adds an event listener to the control. You can add listeners to the following events:
- beforenavigate
- navigated
- navigating
Syntax
WinJS.Navigation.addEventListener(eventType, listener, capture);
Parameters
- eventType
-
Type: string
The type (name) of the event.
- listener
-
Type: function
The listener 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 supported client | Windows 8 [Windows Store apps only] |
|---|---|
|
Minimum supported server | Windows Server 2012 [Windows Store apps only] |
|
Namespace |
WinJS.Navigation |
|
Library |
|
Build date: 12/5/2012
