eventWithinElement function

WinJS.Utilities.eventWithinElement function

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

Applies to: Metro style apps only

Determines whether the specified event occurred within the specified element.

Syntax

var boolean = WinJS.Utilities.eventWithinElement(element, event);

Parameters

element

Type: HTMLElement

The element.

event

Type: Event

The event.

Return value

Type: Object

true if the event occurred within the element; otherwise, false.

Requirements

Namespace

WinJS.Utilities

Library

Base.js

 

 

Build date: 2/10/2012

Ajouts de la communauté

AJOUTER
Afficher:
© 2017 Microsoft