Share via


HandPointer.capture Function

Kinect for Windows 1.8

Sets the specified DOM element to capture all events triggered by this hand pointer, or returns to normal event routing behavior.

Syntax

capture(element);

Parameters

  • element
    Type: HTMLElement

    DOM element that should capture all events triggered by this hand pointer. If this parameter is not specified, events will no longer be captured and event routing returns to normal behavior.

Remarks

The specified DOM element will capture all events triggered by this hand pointer, even if the pointer is not currently hovering over the element.

Requirements

Library: Kinect-1.8.0.js

See Also

Reference

HandPointer Interface
UI Components