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

9 lines
173 B
Handlebars

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