open-vault/ui/lib/core/addon/components/tool-tip.hbs

24 lines
730 B
Handlebars
Raw Normal View History

<BasicDropdown
@renderInPlace={{@renderInPlace}}
@verticalPosition={{@verticalPosition}}
@horizontalPosition={{this.horizontalPosition}}
@matchTriggerWidth={{@matchTriggerWidth}}
@triggerComponent={{@triggerComponent}}
@contentComponent={{@contentComponent}}
@calculatePosition={{@calculatePosition}}
@onOpen={{@onOpen}}
@onClose={{@onClose}}
@onFocus={{@onFocus}}
@calculateInPlacePosition={{@calculateInPlacePosition}}
as |dd|
>
{{yield
(assign
dd
(hash
Trigger=(component dd.Trigger onMouseDown=this.prevent onMouseEnter=this.open onMouseLeave=this.close)
Content=(component dd.Content onMouseEnter=this.open onMouseLeave=this.close)
)
)
}}
</BasicDropdown>