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

10 lines
163 B
Handlebars

<Action
role="menuitem"
...attributes
@href={{@href}}
{{on 'click' (if @href @disclosure.close (noop))}}
@external={{@external}}
>
{{yield}}
</Action>