次の方法で共有


WinJS.Utilities.eventWithinElement function

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

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

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Utilities