Skip to main content

Actions Overview

Actions are messages dispatched through the event bus via api.exec(name, payload). They drive all board mutations: adding, moving, and deleting cards, applying filters, triggering exports. Built-in UI elements (drag-and-drop, the editor, the context menu) dispatch the same actions, so api.on and api.intercept cover both programmatic and user-initiated changes.

add-cardAdds a new card to the board
delete-cardRemoves a card from the board
duplicate-cardClones an existing card with optional field overrides
export-dataExports the visible board as PDF, PNG, or passes data to a custom handler
filter-cardsApplies or clears a filter predicate on the board
move-cardMoves a card to another column or reorders it within the same column
provide-dataUpserts cards into the store, optionally marking a column as loaded
redoRe-applies the last undone change from the redo stack
request-dataEmitted by the store when a column needs its cards loaded
select-cardOpens the editor on a card, or closes it by passing null
sort-cardsApplies or clears a sort criterion on the board's cards
undoReverts the last card mutation by restoring the previous snapshot
update-cardPatches an existing card with new field values
update-columnPatches a column's configuration (label, css, cardLimit, collapsed, etc.)