2022-02-11 14:11:16 +00:00
|
|
|
<div
|
|
|
|
class={{class-map
|
|
|
|
"disclosure-menu"
|
|
|
|
}}
|
|
|
|
...attributes
|
|
|
|
>
|
2022-02-21 12:22:59 +00:00
|
|
|
<Disclosure
|
|
|
|
@expanded={{@expanded}}
|
|
|
|
as |disclosure|>
|
2022-02-11 14:11:16 +00:00
|
|
|
{{yield (hash
|
|
|
|
Action=(component 'disclosure-menu/action' disclosure=disclosure)
|
2022-02-25 10:01:08 +00:00
|
|
|
Menu=(component 'disclosure-menu/menu'
|
|
|
|
disclosure=disclosure
|
|
|
|
items=@items
|
|
|
|
rowHeight=@rowHeight
|
|
|
|
)
|
2022-02-11 14:11:16 +00:00
|
|
|
disclosure=disclosure
|
|
|
|
toggle=disclosure.toggle
|
2022-02-21 12:22:59 +00:00
|
|
|
close=disclosure.close
|
|
|
|
open=disclosure.open
|
2022-02-11 14:11:16 +00:00
|
|
|
expanded=disclosure.expanded
|
|
|
|
)}}
|
|
|
|
</Disclosure>
|
|
|
|
</div>
|