John Cowen b179f9fa91
ui: aria-menu modifier (#12262)
aria-menu modifier plus Menu component (#12266)
2022-02-09 09:47:45 +00:00

16 lines
351 B
Handlebars

<ul
role="menu"
aria-labelledby={{@disclosure.button}}
id={{@disclosure.panel}}
...attributes
{{aria-menu
onclose=(or @onclose @disclosure.close)
openEvent=(or @event @disclosure.event)
}}
>
{{yield (hash
Action=(component 'menu/action')
Item=(component 'menu/item')
Separator=(component 'menu/separator')
)}}
</ul>