open-vault/ui/app/templates/components/tool-tip.hbs

30 lines
822 B
Handlebars
Raw Normal View History

2018-04-03 14:16:57 +00:00
{{#basic-dropdown-hover
onOpen=onOpen
onClose=onClose
2018-04-03 14:16:57 +00:00
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}}