addEventListener function

WinJS.Application.addEventListener function

[This documentation is preliminary and is subject to change.]

Applies to: Metro style apps only

Adds an event listener to the control.

Syntax

WinJS.Application.addEventListener(type, listener, capture);

Parameters

type

Type: string

The type (name) of the event.

listener

Type: function

The listener to invoke when the event is raised.

capture

Type: Boolean

true to initiate capture, otherwise false.

Return value

This function does not return a value.

Requirements

Minimum supported client

Windows 8 Consumer Preview

Minimum supported server

Windows Server 8 Beta

Namespace

WinJS.Application

Library

Base.js

 

 

Build date: 2/10/2012

Ajouts de la communauté

AJOUTER
Afficher:
© 2016 Microsoft