Skip to content

Vizel API / core/src / VizelNodeSelectorItemView

Interface: VizelNodeSelectorItemView ​

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

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:18

Whether this node type matches the current selection.


isFocused ​

ts
isFocused: boolean;

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

Whether this row is the keyboard-focused option.


nodeType ​

ts
nodeType: VizelNodeTypeOption;

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

The node-type option as supplied by the consumer.

Released under the MIT License.