Menu

Edit Copy Delete
Attribute Type Documentation Default Value
id :any

HTML id attribute

class :any

additional CSS classes

open :boolean

whether the menu is initially visible

false
anchor :string

CSS selector of the anchor/trigger element

placement :string

preferred placement of the menu

"bottom-start"
label :string

Accessible label for the menu (aria-label)

rest :global
Required inner_block * :slot

Menu items

<.dm_menu_item value="edit">Edit</.dm_menu_item>
<.dm_menu_item value="copy">Copy</.dm_menu_item>
<.dm_menu_item value="delete">Delete</.dm_menu_item>