Skip to content

Vizel API / core/src / VizelPopoverTriggerSpec

Interface: VizelPopoverTriggerSpec

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

ARIA attributes for the trigger element of a popover.

The trigger anchors the floating body element. Click, keyboard, or focus opens the body; the framework component owns the activation behavior while the spec carries the static wiring.

Properties

aria-controls

ts
aria-controls: string;

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

Id of the body element this trigger controls.


aria-expanded

ts
aria-expanded: boolean;

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

Whether the body is currently visible.


aria-haspopup

ts
aria-haspopup: "menu" | "listbox" | "dialog";

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

Role of the popup element this trigger opens.


id

ts
id: string;

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

Stable id; used as aria-controls target by the body.

Released under the MIT License.