Compartir a través de


ILayout.hitTest method

This API is no longer supported. Starting with the Windows Library for JavaScript 2.0 Preview, use the ILayout2 interface. Returns the data source index of the item that's rendered at the specified location.

Syntax

iLayout.hitTest(x, y);

Parameters

  • x
    Type: Integer

    The x-coordinate to test.

  • y
    Type: Integer

    The y-coordinate to test.

Return value

This method does not return a value.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ILayout