Skip to content

Vizel API / core/src / VizelNodeSelectorItemView

Interface: VizelNodeSelectorItemView

Defined in: packages/core/src/builders/node-selector.ts:13

Item-data shape surfaced for each block-type option in the VizelNodeSelector popover.

The skeleton pre-evaluates isActive against the runtime editor and exposes the keyboard-focused row via isFocused.

Properties

isActive

ts
isActive: boolean;

Defined in: packages/core/src/builders/node-selector.ts:17

Whether this node type matches the current selection.


isFocused

ts
isFocused: boolean;

Defined in: packages/core/src/builders/node-selector.ts:19

Whether this row is the keyboard-focused option.


nodeType

ts
nodeType: VizelNodeTypeOption;

Defined in: packages/core/src/builders/node-selector.ts:15

The node-type option as supplied by the consumer.

Released under the MIT License.