Skip to content

EditRefusedPayload

Defined in: core/src/events/types.ts:125

A gesture of the interaction layer was refused (editRefused): when the drag was about to start or to be committed, context.busy, the permissions, a gone task or an invalid link target forbade it. Nothing was changed.

readonly at: "start" | "commit"

Defined in: core/src/events/types.ts:135

When: the drag was about to start, or to be committed.


readonly gesture: GestureKind

Defined in: core/src/events/types.ts:127

The gesture.


readonly id: TaskId

Defined in: core/src/events/types.ts:129

The dragged task, or the link source.


readonly reason: RefusalReason

Defined in: core/src/events/types.ts:133

Why.


readonly target: TaskId | undefined

Defined in: core/src/events/types.ts:131

For links: the target, when there was one.