Ga naar hoofdinhoud

CnMenuWidget

Hierarchical menu widget (dropdown / sidebar / tree) with active-item highlighting.

Part of the dashboard widget library (v2). Registered with the dashboard widget registry and consumed by MyDash/LaunchPad's widget grid. See the widget library overview and docs/architecture/cards-and-widgets.md.

Reference

Props

NameTypeRequiredDefaultDescription
contentobject\{\}Persisted widget content {items, style, orientation, showIcons, expandedByDefault, activeItemHighlight}.
isAdminbooleanfalseWhether the current user is an admin (pairs with canEdit).
canEditbooleanfalseWhether the surrounding shell is in edit mode.

Events

NamePayloadDescription
edit-requestFired when the empty-state gear is clicked in edit mode.