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: HTMLElementThe element.
event
Type: EventThe 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 |