Appearance
BPMN Panel API / Panel Types / ToolbarNodeItem
Type Alias: ToolbarNodeItem
ts
type ToolbarNodeItem = ToolbarItemBase & {
bpmnType: BpmnNodeKind;
typeName?: string;
events?: PanelEvent[];
size?: {
w?: number;
h?: number;
};
data?: Record<string, any>;
placeholderCard?: {
title: string;
};
};Defined in: features/panels/variants/bpmn/types/panel/graph/toolbar/toolbar-item.ts:259
Type Declaration
| Name | Type | Description |
|---|---|---|
| BPMN node type for rendering. Determines which visual element
See | |
|
| Backend entity type identifier for matching node card configuration. When provided, this value is used to find a matching entry in Examples ts ts |
|
| Events configuration for the node creation. Defines actions to execute when specific events occur during node creation. The primary event for toolbar items is Supported Events
|
| { | Optional size for the created node. Defines the width and height of the node when created from the palette. If not specified,
Use cases:
Examples Standard size json Compact task json Large instruction card json |
|
| ‐ |
|
| ‐ |
|
| Custom data to attach to the created node. This data object is:
System-managed properties:
Special properties:
Use cases:
Example Dynamic title from field json This makes the card title update based on the |
| { | Placeholder card configuration. Defines only placeholder title shown during drag-and-drop creation. Field layout and field labels are resolved from matching node card config. If not specified, falls back to the node card title from Example json |
|
| ‐ |