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

13 lines
223 B
Handlebars

{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<Action
aria-expanded={{if @disclosure.expanded 'true' 'false'}}
aria-controls={{@disclosure.controls}}
...attributes
>
{{yield}}
</Action>