2020-06-10 16:40:22 +00:00
|
|
|
{{yield}}
|
2020-06-23 09:12:04 +00:00
|
|
|
{{#let (hash
|
|
|
|
change=(action "change")
|
|
|
|
) as |api|}}
|
2020-06-10 16:40:22 +00:00
|
|
|
<div class="menu-panel {{position}}">
|
|
|
|
<YieldSlot @name="controls">
|
2020-06-23 09:12:04 +00:00
|
|
|
{{yield api}}
|
2020-06-10 16:40:22 +00:00
|
|
|
</YieldSlot>
|
|
|
|
{{#yield-slot name="header"}}
|
2020-06-23 09:12:04 +00:00
|
|
|
<div>
|
|
|
|
{{yield api}}
|
|
|
|
</div>
|
2020-06-10 16:40:22 +00:00
|
|
|
{{else}}
|
|
|
|
{{/yield-slot}}
|
|
|
|
<ul role="menu" ...attributes>
|
|
|
|
<YieldSlot @name="menu">
|
2020-06-23 09:12:04 +00:00
|
|
|
{{yield api}}
|
2020-06-10 16:40:22 +00:00
|
|
|
</YieldSlot>
|
|
|
|
</ul>
|
2020-06-23 09:12:04 +00:00
|
|
|
</div>
|
|
|
|
{{/let}}
|