onactivated event

Expand
Language: JavaScript and HTML | VB/C#/C++ and XAML
4 out of 4 rated this helpful - Rate this topic

onactivated event

[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:

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

Base.js

 

 

Build date: 5/22/2012

Did you find this helpful?
(1500 characters remaining)
Community Additions ADD
Black and White Pictures
I'm not quiet sure what I'm doing here , from pbutt@hotmail,com