consul/ui/packages/consul-ui/app/components/menu/index.hbs

16 lines
351 B
Handlebars
Raw Normal View History

<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>