16 lines
585 B
Handlebars
16 lines
585 B
Handlebars
<span>
|
|
<BasicDropdown class="popup-menu" horizontalPosition="auto-right" verticalPosition="below" onOpen={{@onOpen}} as |d|>
|
|
<d.Trigger
|
|
@htmlTag="button"
|
|
class={{concat "popup-menu-trigger button is-ghost" (if d.isOpen " is-active")}}
|
|
data-test-popup-menu-trigger
|
|
>
|
|
<Icon @name="more-horizontal" class="has-text-black auto-width" aria-label="More options" />
|
|
</d.Trigger>
|
|
<d.Content @defaultClass={{concat "popup-menu-content " @contentClass}}>
|
|
<div class="box">
|
|
{{yield}}
|
|
</div>
|
|
</d.Content>
|
|
</BasicDropdown>
|
|
</span> |