open-vault/ui/app/templates/components/tool-tip.hbs
2018-04-03 09:16:57 -05:00

28 lines
788 B
Handlebars

{{#basic-dropdown-hover
renderInPlace=renderInPlace
verticalPosition=verticalPosition
horizontalPosition=horizontalPosition
matchTriggerWidth=matchTriggerWidth
triggerComponent=triggerComponent
contentComponent=contentComponent
calculatePosition=calculatePosition
calculateInPlacePosition=calculateInPlacePosition as |dd|}}
{{yield (assign
dd
(hash
trigger=(component dd.trigger
onMouseDown=(action "prevent")
onMouseEnter=(action "open")
onMouseLeave=(action "close")
onBlur=(action "close")
)
content=(component dd.content
onMouseEnter=(action "open")
onMouseLeave=(action "close")
onFocus=(action "open")
onBlur=(action "close")
)
)
)}}
{{/basic-dropdown-hover}}