WinJS.Application.queueEvent function

Applies to Windows and Windows Phone

Queues an event to be processed by the WinJS.Application event queue.

The events that can be added to the WinJS.Application queue include the ones listed below. You can also add user-defined events to the queue.

Syntax


WinJS.Application.queueEvent(eventRecord);

Parameters

eventRecord

Type: Object

The event object is expected to have a type property that is used as the event name when dispatching on the WinJS.Application event queue. The entire object is provided to event listeners in the detail property of the event.

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]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.Application

Library

Base.js

 

 

Show:
© 2014 Microsoft