Skip to content

ClickEffect

Defined in: core/src/interaction/types.ts:281

A click or double click: a press and release that never passed the drag threshold. A double click follows the second of two clicks on the same target (the same task, whatever part of its bar; the same link; the same empty row) within the double-click time and distance; both clicks are reported, without delay. A cancelled press or a drag between them breaks it.

readonly event: unknown

Defined in: core/src/interaction/types.ts:287

The up event’s renderer event.


readonly optional modifiers?: InteractionModifiers

Defined in: core/src/interaction/types.ts:289

Modifier keys held at the release.


readonly target: HitTarget

Defined in: core/src/interaction/types.ts:285

What was clicked (the target at the press).


readonly type: "click" | "double-click"

Defined in: core/src/interaction/types.ts:283

Discriminant.