consul/ui/packages/consul-ui/app/components/disclosure/action/index.hbs

8 lines
148 B
Handlebars

<Action
aria-expanded={{if @disclosure.expanded 'true' 'false'}}
aria-controls={{@disclosure.controls}}
...attributes
>
{{yield}}
</Action>