Quartz Headless docs/MenuGroupDirective

Search documentation

Type to search the documentation.

API: Primitives

MenuGroupDirective

A named group of menu items: role="group" labelled by its MenuLabelDirective.

Overview

A named group of menu items: role="group" labelled by its MenuLabelDirective. Groups are structural only โ€” they are never menu items and never take focus.

<div qzMenuGroup>
  <div qzMenuLabel>Account</div>
  <button qzMenuItem>Profile</button>
</div>

Selector

[qzMenuGroup]

Public methods

registerLabel

registerLabel(id: string): void
Parameter Type Optional Description
id string

unregisterLabel

unregisterLabel(id: string): void
Parameter Type Optional Description
id string