Titanium 2.X

Titanium.UI.Window.click

Fired when the device detects a click against the view. ...

Fired when the device detects a click against the view.

There is a subtle difference between singletap and click events.

A singletap event is generated when the user taps the screen briefly without moving their finger. This gesture will also generate a click event.

However, a click event can also be generated when the user touches, moves their finger, and then removes it from the screen.

On Android, a click event can also be generated by a trackball click.

Properties

  • globalPoint : Objectdeprecated

    Dictionary with properties x and y describing the location of the event in screen coordinates.

    •  
    •  
  • source : Object

    Source object that fired the event.

  • type : String

    Name of the event fired.

  • x : Number

    X coordinate of the event from the source view's coordinate system.

  • y : Number

    Y coordinate of the event from the source view's coordinate system.