Share via


ClickParam interface

A click action.

Extends

Properties

button

Indicates which mouse button was pressed during the click. One of left, right, wheel, back, or forward.

type

Specifies the event type. For a click action, this property is always click.

x

The x-coordinate where the click occurred.

y

The y-coordinate where the click occurred.

Property Details

button

Indicates which mouse button was pressed during the click. One of left, right, wheel, back, or forward.

button: ClickButtonType

Property Value

type

Specifies the event type. For a click action, this property is always click.

type: "click"

Property Value

"click"

x

The x-coordinate where the click occurred.

x: number

Property Value

number

y

The y-coordinate where the click occurred.

y: number

Property Value

number