Skip to content

Vizel API / core/src / VizelPopoverSpec

Interface: VizelPopoverSpec

Defined in: packages/core/src/builders/types.ts:153

Spec for an anchored popover.

Block menu, toolbar dropdown, node selector, and color picker all wrap a body element (listbox / menu / dialog) anchored to a trigger button. The spec covers the trigger-body wiring; the body itself is described by a nested VizelMenuSpec, VizelGridSpec, or VizelFormSpec.

Properties

body

ts
readonly body: VizelPopoverBodySpec;

Defined in: packages/core/src/builders/types.ts:157

Body element wiring.


isOpen

ts
readonly isOpen: boolean;

Defined in: packages/core/src/builders/types.ts:159

Whether the body is currently mounted / visible.


trigger

ts
readonly trigger: VizelPopoverTriggerSpec;

Defined in: packages/core/src/builders/types.ts:155

Trigger element wiring.

Released under the MIT License.