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

15 lines
325 B
Handlebars
Raw Normal View History

{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
{{yield
(action 'change')
(action 'keypress')
(action 'keypressClick')
(hash
labelledBy=(concat 'component-aria-menu-trigger-' guid)
controls=(concat 'component-aria-menu-menu-' guid)
expanded=(if expanded 'true' undefined)
)
}}