Share via


KinectUIAdapter.on Function

Kinect for Windows 1.8

Attaches a new handler for the specified global UI event.

Syntax

on(eventName, handler);

Parameters

  • eventName
    Type: String

    Name of the global UI event to attach an event handler to.

  • handler
    Type: Function

    Callback function to call when the specified global UI event is ready to be processed. This function should have an eventInfo parameter of type Object that receives the event details.

Requirements

Library: Kinect-1.8.0.js

See Also

Reference

KinectUIAdapter Interface
UI Components