[This documentation is preliminary and is subject to change.]
Applies to: Metro style apps only
Occurs when WinRT activation has occurred. The name of this event is "activated" (and also "mainwindowactivated").
Syntax
WinJS.Application.addEventListener("activated", listenerName);
or
WinJS.Application.onactivated = listenerName;
Event handler parameters
- eventInfo
-
Type: CustomEvent
An object that contains information about the event. For more information about event arguments, see the WinRT event argument classes:
- WebUICachedFileUpdaterActivatedEventArgs
- WebUICameraSettingsActivatedEventArgs
- WebUIContactPickerActivatedEventArgs
- WebUIDeviceActivatedEventArgs
- WebUIFileActivatedEventArgs
- WebUIFileOpenPickerActivatedEventArgs
- WebUIFileSavePickerActivatedEventArgs
- WebUILaunchActivatedEventArgs
- WebUIPrintTaskSettingsActivatedEventArgs
- WebUIProtocolActivatedEventArgs
- WebUISearchActivatedEventArgs
- WebUIShareTargetActivatedEventArgs
Remarks
For more information about the application lifecycle, see Guidelines for managing the app lifecycle.
Requirements
|
Minimum supported client | Windows 8 Release Preview |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
WinJS.Application |
|
Library |
|
Build date: 5/22/2012
