Skip to content

frontend-web-editor


Function: default() ​

default(clickedColumnId): () => void

Defined in: app/hooks/eventTree/useDeleteColClick.ts:18

Delete an empty functional-event column and rewire connections in the Event Tree.

Validates the column is empty (only invisible nodes), connects adjacent columns with a hidden edge, removes the target column and its invisible nodes, updates the root counters, and persists the result.

Parameters ​

clickedColumnId ​

string

The id of the column-node to delete.

Returns ​

A function that performs the deletion when invoked.

(): void

Returns ​

void