Skip to content
On this page

Interface: BoardNodeActionOptions

features/boards/board.BoardNodeActionOptions

An object that configures a BoardNodeAction.

Properties

fillColor

Optional fillColor: NodeComputable<string>

The fill color of the action.

Defined in

profectus/src/features/boards/board.ts:177


icon

icon: NodeComputable<string>

The icon to display for the action.

Defined in

profectus/src/features/boards/board.ts:175


id

id: string

A unique identifier for the action.

Defined in

profectus/src/features/boards/board.ts:171


Optional links: NodeComputable<BoardNodeLink[]>

An array of board node links associated with the action. They appear when the action is focused.

Defined in

profectus/src/features/boards/board.ts:181


onClick

onClick: (node: BoardNode) => undefined | boolean

Type declaration

▸ (node): undefined | boolean

A function that is called when the action is clicked.

Parameters
NameType
nodeBoardNode
Returns

undefined | boolean

Defined in

profectus/src/features/boards/board.ts:183


tooltip

tooltip: NodeComputable<string>

The tooltip text to display for the action.

Defined in

profectus/src/features/boards/board.ts:179


visibility

Optional visibility: NodeComputable<boolean | Visibility>

Whether this action should be visible.

Defined in

profectus/src/features/boards/board.ts:173